Add files via upload
This commit is contained in:
parent
21c1af54ac
commit
c55761a003
|
@ -8,7 +8,7 @@ TEST_TIME=$5 # e.g., 10s, 10m, 10h
|
|||
HEADLESS=$6 # e.g., -no-window
|
||||
LOGIN_SCRIPT=$7 # the script for app login via uiautomator2
|
||||
|
||||
WETEST_TOOL=../tools/
|
||||
WETEST_TOOL=../tools
|
||||
|
||||
# wait for the target device
|
||||
function wait_for_device(){
|
||||
|
@ -112,7 +112,7 @@ adb -s $AVD_SERIAL shell date "+%Y-%m-%d-%H:%M:%S" >> $result_dir/wetest_testing
|
|||
launchable_activity=$(aapt dump badging $APK_FILE | grep "launchable-activity" | awk '{print $2}' | sed s/name=//g | sed s/\'//g )
|
||||
|
||||
|
||||
timeout ${TEST_TIME} ./${WETEST_TOOL}/test_main ${apk_file_name} ${app_package_name} ${launchable_activity} | tee $result_dir/wetest.log
|
||||
timeout ${TEST_TIME} ./${WETEST_TOOL}/test_main ${apk_file_name} ${app_package_name} ${launchable_activity} ${AVD_SERIAL} | tee $result_dir/wetest.log
|
||||
|
||||
adb -s $AVD_SERIAL shell date "+%Y-%m-%d-%H:%M:%S" >> $result_dir/wetest_testing_time_on_emulator.txt
|
||||
|
||||
|
@ -132,4 +132,4 @@ kill `ps aux | grep "${AVD_SERIAL} logcat" | grep -v grep | awk '{print $2}'`
|
|||
sleep 5
|
||||
adb -s $AVD_SERIAL emu kill
|
||||
|
||||
echo "@@@@@@ Finish (${AVD_SERIAL}): " $app_package_name "@@@@@@@"
|
||||
echo "@@@@@@ Finish (${AVD_SERIAL}): " $app_package_name "@@@@@@@"
|
Loading…
Reference in New Issue