Tests: add basic ust context tests for $app, vpid, vuid, vgid
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Nov 2022 16:44:09 +0000 (11:44 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 8 Dec 2022 14:10:10 +0000 (09:10 -0500)
commitef945e4deb2e24b7d7ce05c3289a29a22c6b427d
tree0b19a4d70ac08a136690d640cfbec4c3b0105add
parent63c3462c3dbd028a08f7a9b504c45e178371248d
Tests: add basic ust context tests for $app, vpid, vuid, vgid

Context tracing has very little testing coverage beyond the namespace
tests. This test is initially introduced to help troubleshoot an issue
with application contexts.

However, with the scaffolding now in place, it's trivial to exercise
some other context types.

This also adds a basic framework to write tests in Python.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I85be842fab252d8b853392d3f742b1461a69f0fe
13 files changed:
configure.ac
tests/regression/Makefile.am
tests/regression/tools/Makefile.am
tests/regression/tools/context/Makefile.am [new file with mode: 0644]
tests/regression/tools/context/test_ust.py [new file with mode: 0755]
tests/utils/Makefile.am
tests/utils/lttngtest/Makefile.am [new file with mode: 0644]
tests/utils/lttngtest/__init__.py [new file with mode: 0644]
tests/utils/lttngtest/environment.py [new file with mode: 0644]
tests/utils/lttngtest/logger.py [new file with mode: 0644]
tests/utils/lttngtest/lttng.py [new file with mode: 0644]
tests/utils/lttngtest/lttngctl.py [new file with mode: 0644]
tests/utils/lttngtest/tap_generator.py [new file with mode: 0644]
This page took 0.024598 seconds and 4 git commands to generate.