X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Foverlap%2Ftest_overlap;h=66c55ca916defd2b4fe5b00df6b2c8ce0668dad7;hb=3d2deeadbdbcc9ef645701da46172de93d2ed45b;hp=7a39332afe3b377ff19292e41d07e080e79a7588;hpb=96340a015194538227efcbc654ec02c2ed9961ce;p=lttng-tools.git diff --git a/tests/regression/ust/overlap/test_overlap b/tests/regression/ust/overlap/test_overlap index 7a39332af..66c55ca91 100755 --- 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 -if [ ! -x "$CURDIR/demo/demo" ]; then - BAIL_OUT "No UST nevents binary detected." -fi - # MUST set TESTDIR before calling those functions run_demo_app() @@ -616,6 +612,14 @@ plan_tests $NUM_TESTS 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" @@ -656,7 +660,7 @@ while [ "$i" -lt "$TEST_COUNT" ]; do # Execute test ${TESTS[$i]} - destroy_lttng_session $SESSION_NAME + destroy_lttng_session_ok $SESSION_NAME rm -rf $TRACE_PATH