summaryrefslogtreecommitdiffstats
path: root/test/afb-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/afb-test.sh')
-rwxr-xr-xtest/afb-test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/afb-test.sh b/test/afb-test.sh
index eaebbe08..e60f2deb 100755
--- a/test/afb-test.sh
+++ b/test/afb-test.sh
@@ -21,6 +21,7 @@ ${BINDER} --name="${PROCNAME}" \
--workdir="${BUILDDIR}/package" \
--binding="lib/afb-low-can.so" \
--binding="$AFBTEST" \
+--call="afTest/launch_all_tests:{}" \
-vvv > ${LOGPIPE} 2>&1 &
while read -r line
@@ -28,4 +29,6 @@ do
[ "$(echo "${line}" | grep 'NOTICE: Browser URL=')" ] && break
done < ${LOGPIPE}
-${CLIENT} ws://localhost:${PORT}/api?token=${TOKEN} afTest launch_all_tests
+${CLIENT} ws://localhost:${PORT}/api?token=${TOKEN} afTest exit
+
+rm -f ${LOGPIPE}