From b5e83c1f7521962d65fbddcef10425277a3932d0 Mon Sep 17 00:00:00 2001 From: Erjan Gavalji Date: Thu, 15 Oct 2015 16:43:57 +0300 Subject: [PATCH] Modify the expectation in the expect script to be a string. Remove the test folder upon completion --- expect.exp | 2 +- runtestsapp.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/expect.exp b/expect.exp index a3abc321c..6b56dedd2 100755 --- a/expect.exp +++ b/expect.exp @@ -13,5 +13,5 @@ set timeout 600 #spawn (adb logcat | tee ./__TESTRESULT__.txt) log_file -noappend ./__TESTRESULT__.txt spawn adb logcat -expect '=== ALL TESTS COMPLETE ===' +expect "=== ALL TESTS COMPLETE ===" send \003 diff --git a/runtestsapp.sh b/runtestsapp.sh index 49364a92a..70b822fb5 100755 --- a/runtestsapp.sh +++ b/runtestsapp.sh @@ -79,3 +79,5 @@ echo "Waiting for the tests to finish executing..." time ./expect.exp pkill $emuProcId && true + +rm -rd $workingdir