projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: use babeltrace2 for all tests
[lttng-tools.git]
/
tests
/
regression
/
ust
/
blocking
/
test_blocking
diff --git
a/tests/regression/ust/blocking/test_blocking
b/tests/regression/ust/blocking/test_blocking
index 617d9a27833a901273735b255dabee9d29faaf78..ca864353248d29f1fbc603ddb5102d3c4cd40437 100755
(executable)
--- a/
tests/regression/ust/blocking/test_blocking
+++ b/
tests/regression/ust/blocking/test_blocking
@@
-123,7
+123,7
@@
function test_ust_blocking_no_discard()
destroy_lttng_session_ok $SESSION_NAME
stop_lttng_sessiond
destroy_lttng_session_ok $SESSION_NAME
stop_lttng_sessiond
- nr_events=$(
babeltrace
$TRACE_PATH 2>/dev/null | wc -l)
+ nr_events=$(
"$BABELTRACE_BIN"
$TRACE_PATH 2>/dev/null | wc -l)
test $nr_events -eq $NUM_EVENT
ok $? "No event lost with UST blocking mode: found $nr_events expect $NUM_EVENT"
test $nr_events -eq $NUM_EVENT
ok $? "No event lost with UST blocking mode: found $nr_events expect $NUM_EVENT"
@@
-133,6
+133,8
@@
plan_tests $NUM_TESTS
print_test_banner "$TEST_DESC"
print_test_banner "$TEST_DESC"
+bail_out_if_no_babeltrace
+
TESTS=(
"test_ust_implicit_no_blocking"
"test_ust_implicit_no_blocking_with_channel_blocking"
TESTS=(
"test_ust_implicit_no_blocking"
"test_ust_implicit_no_blocking_with_channel_blocking"
This page took
0.024564 seconds
and
4
git commands to generate.