Tests: Move tests to tests/regression Also move the utils.sh and utils.h helper files under tests/utils. Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Tests: Rename helper functions to have consistent names Most of the helper functions had inconsistent naming. Suggested naming convention for helper functions: <action>_<bin_name> or <action>_lttng_<command> List of modified helper functions: lttng_start_relayd -> start_lttng_relayd lttng_stop_relayd -> stop_lttng_relayd start_sessiond -> start_lttng_sessiond stop_sessiond -> stop_lttng_sessiond start_tracing -> start_lttng_tracing stop_tracing -> stop_lttng_tracing Signed-off-by: Christian Babeux <christian.babeux@efficios.com> Signed-off-by: David Goulet <dgoulet@efficios.com>
Add network transport layer to sessiond-comm Only import the library files in sessiond-comm/ directory for network communication supporting both TCP and UDP protocols with IPv4 and IPv6. First layer needed for network streaming and communication with the upcoming lttng-relayd daemon. Signed-off-by: David Goulet <dgoulet@efficios.com>
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>