From 4d0948a2eeb60522b773d058f63418fd640d78c5 Mon Sep 17 00:00:00 2001 From: Clément Bénier Date: Fri, 24 Jan 2020 17:34:00 +0100 Subject: afm-test target: change order of the script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - indeed removing afb test delete rules entry of User::App::. - so read the test results, before removing widget BUG-AGL: SPEC-2795 Signed-off-by: Clément Bénier Change-Id: I1dddd2cff6e778c8d655e6551ec7e6e6635c80ed --- afm-test.target.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/afm-test.target.sh b/afm-test.target.sh index c6739ae..7aa6b2e 100755 --- a/afm-test.target.sh +++ b/afm-test.target.sh @@ -104,8 +104,6 @@ done # Terminate the App afm-util kill $pid > /dev/null -afm-util remove $APP > /dev/null -rm ${AFM_PLATFORM_RUNDIR}/${APP}.env 2> /dev/null find "${APP_HOME}" -name '*tap' -exec \ sed -r -e '/^# (S| +)/d' \ @@ -113,4 +111,7 @@ sed -r -e '/^# (S| +)/d' \ --e 's:^ok +([0-9]+)\t+(.*):PASS\: \1 \2:' \ --e 's:^not ok +([0-9]+)\t+(.*):FAIL\: \1 \2:' {} \; +afm-util remove $APP > /dev/null +rm ${AFM_PLATFORM_RUNDIR}/${APP}.env 2> /dev/null + info "$APP killed and removed" -- cgit 1.2.3-korg