mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Reduce the timeout of the test run. Start in no-window
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user