summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bénier <clement.benier@iot.bzh>2020-01-24 17:34:00 +0100
committerClément Bénier <clement.benier@iot.bzh>2020-01-24 17:34:00 +0100
commit4d0948a2eeb60522b773d058f63418fd640d78c5 (patch)
treef58d100e510fbeafb3b7dfafc40e620f8ce7e2de
parent910326fc77d64e10b3d89e33e09d37315fc492c5 (diff)
afm-test target: change order of the scripticefish_8.99.5icefish/8.99.58.99.5
- indeed removing afb test delete rules entry of User::App::<nameofbinder>. - so read the test results, before removing widget BUG-AGL: SPEC-2795 Signed-off-by: Clément Bénier <clement.benier@iot.bzh> Change-Id: I1dddd2cff6e778c8d655e6551ec7e6e6635c80ed
-rwxr-xr-xafm-test.target.sh5
1 files 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"