Tests: use babeltrace2 for all tests
[lttng-tools.git] / tests / regression / tools / filtering / test_valid_filter
index e76ffa25f2480998be378929cda20ef9dde369a4..7e764ca5d0caf10fc5ecee465dbca50ba719e932 100755 (executable)
@@ -112,7 +112,7 @@ function test_valid_filter
        # Destroy session
        destroy_lttng_session_ok $SESSION_NAME
 
-       stats=`babeltrace $trace_path | $STATS_BIN --tracepoint $event_name`
+       stats=`"$BABELTRACE_BIN" $trace_path | $STATS_BIN --tracepoint $event_name`
 
        rm -rf $trace_path
 
@@ -401,6 +401,8 @@ plan_tests $NUM_TESTS
 
 print_test_banner "$TEST_DESC"
 
+bail_out_if_no_babeltrace
+
 issue_356_filter="intfield > 0 && intfield > 1 && "
 issue_356_filter+="intfield > 2 && intfield > 3 && "
 issue_356_filter+="intfield > 4 && intfield > 5 && "
This page took 0.023668 seconds and 4 git commands to generate.