Project

General

Profile

Actions

Bug #1423

open

Make the test suite installable

Added by Bin Lan 20 days ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Build system
Target version:
Start date:
03/12/2025
Due date:
% Done:

0%

Estimated time:

Description

In Yocto, the tests are run on the installed tree rather than from the source tree. The current implementation of the tests in Babeltrace means they are only intended to be run from the source tree. It would be nice for users to have a test suite or subset of the test suite that could be run with the installed version of Babeltrace

Original description:

reference .lib in tests/lib/test-plugins.sh as the following show:

"${BT_TESTS_BUILDDIR}/lib/test-plugins" "${BT_TESTS_BUILDDIR}/lib/test-plugins-plugins/.libs" 

.libs are used as the temporary directory, we should not reference a temporary directory.

Actions

Also available in: Atom PDF