projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: add kernel test into the `make check` test suite.
[lttng-tools.git]
/
tests
/
regression
/
kernel
/
test_callstack
diff --git
a/tests/regression/kernel/test_callstack
b/tests/regression/kernel/test_callstack
index b5759d442d1670f158e01ec4603eca4a884cd13a..a4477fd7c81d08f2b977e21f3a3f0cb056d074ca 100755
(executable)
--- a/
tests/regression/kernel/test_callstack
+++ b/
tests/regression/kernel/test_callstack
@@
-142,18
+142,13
@@
fi
skip $isroot "Root access is needed. Skipping all tests." "$NUM_TESTS" ||
{
skip $isroot "Root access is needed. Skipping all tests." "$NUM_TESTS" ||
{
- which "$BABELTRACE_BIN" > /dev/null
- test $? -ne 0
- skip $? "Babeltrace binary not found. Skipping callstack tests" "$NUM_TESTS" ||
- {
- start_lttng_sessiond
+ validate_lttng_modules_present
+ start_lttng_sessiond
-
if test $RUN_USERSPACE_TEST == 1; then
-
test_user_callstack
-
fi
+ if test $RUN_USERSPACE_TEST == 1; then
+ test_user_callstack
+ fi
- test_kernel_callstack
-
- stop_lttng_sessiond
- }
+ test_kernel_callstack
+ stop_lttng_sessiond
}
}
This page took
0.025665 seconds
and
4
git commands to generate.