Start moving the code to grunt

This commit is contained in:
Erjan Gavalji
2015-10-16 16:56:43 +03:00
parent 2f7329ca6f
commit a875096b08
5 changed files with 610 additions and 548 deletions

View File

@@ -11,17 +11,9 @@ pathToApk=./platforms/android/build/outputs/apk/$testsAppName-debug.apk
deployedAppName=org.nativescript.$testsAppName
mainActivityName=com.tns.NativeScriptActivity
rm -rd $workingdir
mkdir $workingdir
cd $workingdir
# Creating the emulator with:
#android create avd -t "android-21" -n Api21 -b "default/x86"
echo "------------------------------------------------"
echo "Killing the emulator..."
time pkill $emuProcId && true
echo "------------------------------------------------"
echo "Starting the emulator..."
time emulator -avd $emuAvdName -no-audio -no-window &
@@ -79,6 +71,4 @@ echo "------------------------------------------------"
echo "Waiting for the tests to finish executing..."
time ./expect.exp $outfile
pkill $emuProcId && true
rm -rd $workingdir