Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Several tests improvements and fixes
[apps/agl-service-can-low-level.git]
/
test
/
afb-test.sh
diff --git
a/test/afb-test.sh
b/test/afb-test.sh
index
eaebbe0
..
e60f2de
100755
(executable)
--- 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" \
--workdir="${BUILDDIR}/package" \
--binding="lib/afb-low-can.so" \
--binding="$AFBTEST" \
+--call="afTest/launch_all_tests:{}" \
-vvv > ${LOGPIPE} 2>&1 &
while read -r line
-vvv > ${LOGPIPE} 2>&1 &
while read -r line
@@
-28,4
+29,6
@@
do
[ "$(echo "${line}" | grep 'NOTICE: Browser URL=')" ] && break
done < ${LOGPIPE}
[ "$(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}