Improve tests and change tests/ directory layout
authorDavid Goulet <>
Tue, 6 Mar 2012 21:59:55 +0000 (16:59 -0500)
committerDavid Goulet <>
Tue, 27 Mar 2012 19:34:59 +0000 (15:34 -0400)
Improve tests and change tests/ directory layout

Add and files which are an extended test framework
providing memory and CPU sampling of the session daemon during the tests.

Tests are now divided on a per package basis. The kernel/ directory contains
integration tests for lttng-modules (kernel tracer). ust/ directory contains
tests for lttng-ust and tools/ directory has the unit tests of lttng-tools
itself which does not test tracer integration.

First patch aimed at improving test coverage of the lttng 2.0 toolchain and
provide the python framework for more detailled analysis.

Use make check to run them all or use and select which tests to
run in

Signed-off-by: David Goulet <>
55 files changed:
tests/kernel/ [new file with mode: 0644]
tests/kernel/kernel_all_events_basic.c [new file with mode: 0644]
tests/kernel/kernel_event_basic.c [new file with mode: 0644]
tests/kernel/ [new file with mode: 0755]
tests/kernel/ [new file with mode: 0755]
tests/lttng/kernel_all_events_basic.c [deleted file]
tests/lttng/kernel_event_basic.c [deleted file]
tests/lttng/ [deleted file]
tests/lttng/ [deleted file]
tests/lttng/ [deleted file]
tests/lttng/ust_global_all_events_basic.c [deleted file]
tests/lttng/ust_global_event_basic.c [deleted file]
tests/ [new file with mode: 0755]
tests/test_kernel_data_trace.c [deleted file]
tests/ [new file with mode: 0644]
tests/test_sessions.c [deleted file]
tests/test_ust_data_trace.c [deleted file]
tests/tools/ [new file with mode: 0644]
tests/tools/ [new file with mode: 0755]
tests/tools/test_kernel_data_trace.c [new file with mode: 0644]
tests/tools/test_sessions.c [new file with mode: 0644]
tests/tools/test_ust_data_trace.c [new file with mode: 0644]
tests/ust-nevents/ [deleted file]
tests/ust-nevents/gen-nevents.c [deleted file]
tests/ust-nevents/run [deleted file]
tests/ust-nevents/tp.c [deleted file]
tests/ust-nevents/ust_gen_nevents.h [deleted file]
tests/ust-nprocesses/ [deleted file]
tests/ust-nprocesses/gen-events-time.c [deleted file]
tests/ust-nprocesses/run [deleted file]
tests/ust-nprocesses/tp.c [deleted file]
tests/ust-nprocesses/ust_gen_event.h [deleted file]
tests/ust/ [new file with mode: 0644]
tests/ust/nevents/ [new file with mode: 0644]
tests/ust/nevents/gen-nevents.c [new file with mode: 0644]
tests/ust/nevents/run [new file with mode: 0755]
tests/ust/nevents/tp.c [new file with mode: 0644]
tests/ust/nevents/ust-nevents [new file with mode: 0755]
tests/ust/nevents/ust_gen_nevents.h [new file with mode: 0644]
tests/ust/nprocesses/ [new file with mode: 0644]
tests/ust/nprocesses/gen-events-time.c [new file with mode: 0644]
tests/ust/nprocesses/run [new file with mode: 0755]
tests/ust/nprocesses/tp.c [new file with mode: 0644]
tests/ust/nprocesses/ust-nprocesses [new file with mode: 0755]
tests/ust/nprocesses/ust_gen_event.h [new file with mode: 0644]
tests/ust/ [new file with mode: 0755]
tests/ust/ [new file with mode: 0755]
tests/ust/ust_global_all_events_basic.c [new file with mode: 0644]
tests/ust/ust_global_event_basic.c [new file with mode: 0644]
This page took 0.027578 seconds and 4 git commands to generate.