aboutsummaryrefslogtreecommitdiffstats
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 18:13:59 +0100
commitbf0ac7b6725ddbb040e2dfa927bc542cd028beed (patch)
tree2aef1b10a3fb446048cbd0ad44f68c4cd3d5f7c9
parenteb4d2471f1609e217b2a3a919eeb7d76ca1c7417 (diff)
afm-test target: change order of the scripthalibut_8.0.6halibut/8.0.68.0.6halibut
- 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"