projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tests: skip tests on static build
[lttng-tools.git]
/
tests
/
regression
/
ust
/
overlap
/
test_overlap
diff --git
a/tests/regression/ust/overlap/test_overlap
b/tests/regression/ust/overlap/test_overlap
index 69d6c66d2979c99c98c51cd72e0dba3f8e65438e..66c55ca916defd2b4fe5b00df6b2c8ce0668dad7 100755
(executable)
--- a/
tests/regression/ust/overlap/test_overlap
+++ b/
tests/regression/ust/overlap/test_overlap
@@
-34,10
+34,6
@@
NUM_TESTS=259
source $TESTDIR/utils/utils.sh
source $TESTDIR/utils/utils.sh
-if [ ! -x "$CURDIR/demo/demo" ]; then
- BAIL_OUT "No UST nevents binary detected."
-fi
-
# MUST set TESTDIR before calling those functions
run_demo_app()
# MUST set TESTDIR before calling those functions
run_demo_app()
@@
-616,6
+612,14
@@
plan_tests $NUM_TESTS
print_test_banner "$TEST_DESC"
print_test_banner "$TEST_DESC"
+if [ -x "$CURDIR/demo/demo" ]; then
+ foundbin=1
+else
+ foundbin=0
+fi
+
+skip $foundbin "No UST nevents binary detected. Skipping all tests." $NUM_TESTS && exit 0
+
TESTS=(
"test_enable_wildcard_filter"
"test_enable_wildcard_filter_2"
TESTS=(
"test_enable_wildcard_filter"
"test_enable_wildcard_filter_2"
This page took
0.023996 seconds
and
4
git commands to generate.