aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-08-24 15:56:36 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-08-29 13:50:40 +0000
commita7fecc239ad5349d99d826764a85574332e061da (patch)
tree6ddff78e1520bc9a1ddb39b7d699802b946395ad
parentfd49db623a3983526140f74b2e92d43cd578e8b6 (diff)
Native test script launcher improvments
Remove the debug log messages. Display the results of tests at the end. Change-Id: I38ec1a6807a8e7de483545fd3346327fe1847f73 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rwxr-xr-xtest/afb-test.sh8
-rw-r--r--test/afb-test/etc/aft-aftest-self.json2
2 files changed, 6 insertions, 4 deletions
diff --git a/test/afb-test.sh b/test/afb-test.sh
index d65795d..03f256b 100755
--- a/test/afb-test.sh
+++ b/test/afb-test.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/sh
trap cleanup SIGINT SIGTERM SIGABRT SIGHUP
@@ -29,8 +29,8 @@ ${BINDER} --name="${PROCNAME}" \
--workdir="${BUILDDIR}/package-test" \
--binding="$AFBTEST" \
-vvv \
---call="afTest/launch_all_tests:{}" \
---call="afTest/exit:{}" > ${LOGPIPE} 2>&1 &
+--call="aft-aftest/launch_all_tests:{}" \
+--call="aft-aftest/exit:{}" > ${LOGPIPE} 2>&1 &
while read -r line
do
@@ -38,3 +38,5 @@ do
done < ${LOGPIPE}
rm -f ${LOGPIPE}
+
+find ${BUILDDIR} -name test_results.log -exec cat {} \;
diff --git a/test/afb-test/etc/aft-aftest-self.json b/test/afb-test/etc/aft-aftest-self.json
index 73389c5..f8ebbcd 100644
--- a/test/afb-test/etc/aft-aftest-self.json
+++ b/test/afb-test/etc/aft-aftest-self.json
@@ -16,7 +16,7 @@
"action": "lua://AFT#_launch_test",
"args": {
"trace": "low-can",
- "files": [ "aftTest.lua", "mapis-tests.lua" ]
+ "files": [ "aftTest.lua", "mapi_tests.lua" ]
}
},
"mapis": [{