]> git.lttng.org Git - lttng-tools.git/commit
Tests: Use serial runner
authorKienan Stewart <kstewart@efficios.com>
Thu, 7 Nov 2024 17:20:58 +0000 (12:20 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 18 Dec 2024 15:56:12 +0000 (15:56 +0000)
commita2092cf3d4bd0df50679344a4c1d0b56b3af4a59
treed4e3e6e050b94eceb94628801fffc5fa433de8f8
parent65df1e4a889c920fcf6249b1b84630111ec71b58
Tests: Use serial runner

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

Running `make check -jN` with N greater than 1 will fail a number of
different checks.

Cause
=====

The majority of the tests aren't designed to work in
isolation (e.g. using `LTTNG_HOME` and `LTTNG_RUNDIR`), and some tests
that exercise global system resources (e.g. kernel modules) will never
work reliably in parallel.

Solution
========

Create a serial test runner that can execute all the tests that
require global resources while the other tests that are defined as
'safe to parallelize' can be run concurrently.

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

None.

Change-Id: I0b87d2cd5e870ee7f9241ec78390ed96a01efb38
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/Makefile.am
tests/regression/tests.serial [new file with mode: 0755]
This page took 0.028801 seconds and 4 git commands to generate.