projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix kconsumerd number of fd expected
[lttng-tools.git]
/
tests
/
runall.sh
diff --git
a/tests/runall.sh
b/tests/runall.sh
index e7f83ed11e2a89e09bd7b2737a4b9d13d80776dd..8abc4aaa124944d5c6a9013460efa58b4bc25610 100755
(executable)
--- a/
tests/runall.sh
+++ b/
tests/runall.sh
@@
-19,12
+19,20
@@
#### ADD TESTS HERE ####
#### ADD TESTS HERE ####
-for bin in test_sessions;
+test_suite=( test_sessions test_kernel_data_trace lttng/runall.sh )
+
+#### END TESTS HERE ####
+
+for bin in ${test_suite[@]};
do
./$bin
do
./$bin
+ # Test must return 0 to pass.
+ if [ $? -ne 0 ]; then
+ echo -e '\e[1;31mFAIL\e[0m'
+ echo ""
+ exit 1
+ fi
done
done
-#### END TESTS HERE ####
-
echo ""
exit 0
echo ""
exit 0
This page took
0.023574 seconds
and
4
git commands to generate.