Reduce the timeout of the test run. Start in no-window

This commit is contained in:
Erjan Gavalji
2015-10-15 10:37:18 +03:00
parent d4a702409d
commit 2c42783907
2 changed files with 34 additions and 36 deletions

View File

@ -9,7 +9,7 @@
#send \003
set timeout 1200
set timeout 600
#spawn (adb logcat | tee ./__TESTRESULT__.txt)
log_file -noappend ./__TESTRESULT__.txt
spawn adb logcat

View File

@ -4,18 +4,16 @@ rm -rd $workingdir
mkdir $workingdir
cd $workingdir
# Creating the emulator with:
#android create avd -t "android-21" -n Api21 -b "default/x86"
#if [ 1 == 2 ] ; then
echo "------------------------------------------------"
echo "Killing the emulator..."
time pkill ".*emulator64-x86" && true
echo "------------------------------------------------"
echo "Starting the emulator..."
#time emulator -avd Api19 -no-skin -no-audio & # -gpu on
time emulator -avd Api19 -no-audio & # -gpu on
#emulator -avd Api19 -no-skin -no-audio -no-window &
time emulator -avd Api19 -no-audio --no-window &
echo "------------------------------------------------"
echo "Creating the app..."
@ -49,8 +47,6 @@ cd $workingdir
echo "Starting the adb server..."
time adb start-server
#fi
echo "------------------------------------------------"
echo "Uninstalling the app..."
time adb uninstall org.nativescript.TestsApp
@ -68,3 +64,5 @@ cd $startdir
echo "------------------------------------------------"
echo "Waiting for the tests to finish executing..."
time ./expect.exp
#pkill ".*emulator64-x86" && true