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

Add run-report.py and test_list.py 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 run-report.py and select which tests to
run in test_list.py.

Signed-off-by: David Goulet <dgoulet@efficios.com>
55 files changed:
.gitignore
configure.ac
tests/Makefile.am
tests/kernel/Makefile.am [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/run-kernel-tests.sh [new file with mode: 0755]
tests/kernel/runall.sh [new file with mode: 0755]
tests/lttng/kernel_all_events_basic.c [deleted file]
tests/lttng/kernel_event_basic.c [deleted file]
tests/lttng/run-kernel-tests.sh [deleted file]
tests/lttng/run-ust-global-tests.sh [deleted file]
tests/lttng/runall.sh [deleted file]
tests/lttng/ust_global_all_events_basic.c [deleted file]
tests/lttng/ust_global_event_basic.c [deleted file]
tests/run-report.py [new file with mode: 0755]
tests/runall.sh
tests/test_kernel_data_trace.c [deleted file]
tests/test_list.py [new file with mode: 0644]
tests/test_sessions.c [deleted file]
tests/test_ust_data_trace.c [deleted file]
tests/tools/Makefile.am [new file with mode: 0644]
tests/tools/runall.sh [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/Makefile.am [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/Makefile.am [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/Makefile.am [new file with mode: 0644]
tests/ust/nevents/Makefile.am [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/Makefile.am [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/run-ust-global-tests.sh [new file with mode: 0755]
tests/ust/runall.sh [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]
tests/utils.h
tests/utils.sh
This page took 0.027226 seconds and 4 git commands to generate.