tests: test_ust_constructor: Split test_ust_constructor binary
authorKienan Stewart <kstewart@efficios.com>
Thu, 8 Feb 2024 19:29:49 +0000 (14:29 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 7 Mar 2024 17:19:21 +0000 (12:19 -0500)
commit09a872ef0b4e1432329aa42fecc61f50e9baa367
tree3617f4038d2bb3030773227ccc66bd13d5f95568
parentcebde614e5805e89341ba75d276b4d3e2da7225f
tests: test_ust_constructor: Split test_ust_constructor binary

Observed issue
==============

The single test executable gen-ust-events-constructor covers a lot of
different cases in a single executable. This decreases the legibility of
the test results and debuggability of the test application as many
different pieces are in play.

Solution
========

The test functionality covered by the executable is split into two main
parts: one using a dynamically loaded shared object, and the second
using a statically linked archive.

Known drawbacks
===============

Rather than creating a second test script, the same script is re-used to
run multiple TapGenerator sequentially. This could hamper future efforts
to parallelize python-based tests.

Change-Id: I86d247780ce5412570eada6ebadb83a01547f2b0
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
.gitignore
tests/regression/ust/ust-constructor/test_ust_constructor.py
tests/utils/lttngtest/environment.py
tests/utils/testapp/gen-ust-events-constructor/Makefile.am
tests/utils/testapp/gen-ust-events-constructor/main-a.cpp [new file with mode: 0644]
tests/utils/testapp/gen-ust-events-constructor/main.cpp
tests/utils/testapp/gen-ust-events-constructor/obj-a.cpp [new file with mode: 0644]
tests/utils/testapp/gen-ust-events-constructor/obj-a.h [new file with mode: 0644]
tests/utils/testapp/gen-ust-events-constructor/obj.cpp
tests/utils/testapp/gen-ust-events-constructor/obj.h
This page took 0.027418 seconds and 4 git commands to generate.