Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Workaround an exit issue
[src/app-framework-binder.git]
/
coverage
/
scripts
/
run-test.sh
diff --git
a/coverage/scripts/run-test.sh
b/coverage/scripts/run-test.sh
index
5d1b9a9
..
fc45515
100755
(executable)
--- a/
coverage/scripts/run-test.sh
+++ b/
coverage/scripts/run-test.sh
@@
-7,6
+7,20
@@
cd $R/bin
lcov -c -i -d $R/bin -o $R/lcov-out.info
lcov -c -i -d $R/bin -o $R/lcov-out.info
+vg() {
+ if [[ -z "$NOVALGRIND" ]]; then
+ valgrind "$@"
+ else
+ while :; do
+ case "$1" in
+ --*) shift;;
+ *) break;;
+ esac
+ done
+ "$@"
+ fi
+}
+
mk() {
echo
echo "*******************************************************************"
mk() {
echo
echo "*******************************************************************"
@@
-78,7
+92,7
@@
mk $R/bin/test-wrap-json
# true life test
##########################################################
mk \
# true life test
##########################################################
mk \
-v
algrind
\
+v
g
\
--log-file=$R/valgrind.out \
--trace-children=no \
--track-fds=yes \
--log-file=$R/valgrind.out \
--trace-children=no \
--track-fds=yes \
@@
-122,6
+136,7
@@
$R/bin/afb-daemon-cov \
--traceevt all \
--traceglob none \
--monitoring \
--traceevt all \
--traceglob none \
--monitoring \
+ --set hello/key:a-kind-of-text \
--call demat/ping:true \
--call hello/ping:false \
--ws-server unix:$R/apis/ws/hello \
--call demat/ping:true \
--call hello/ping:false \
--ws-server unix:$R/apis/ws/hello \
@@
-132,7
+147,7
@@
$R/bin/afb-daemon-cov \
# true life test
##########################################################
mk \
# true life test
##########################################################
mk \
-v
algrind
\
+v
g
\
--log-file=$R/valgrind.out \
--trace-children=no \
--track-fds=yes \
--log-file=$R/valgrind.out \
--trace-children=no \
--track-fds=yes \