[lttng-dev] [PATCH v7 lttng-tools] tests: add check_skip_kernel_test to check root user and lttng kernel modules

Michael Jeanson mjeanson at efficios.com
Thu Jan 25 10:53:07 EST 2024


On 2024-01-25 10:07, Olivier Dion via lttng-dev wrote:
> On Thu, 25 Jan 2024, Xiangyu Chen via lttng-dev <lttng-dev at lists.lttng.org> wrote:
> [...]
> 
>> Add LTTNG_TOOLS_DISABLE_KERNEL_TESTS to skip the lttng kernel
>> features test, this flag can be set via "make":
> 
> Is there a reason for this to be passed as a make flags instead of a
> configuration option like `--disable-kernel-tests'?

Because it doesn't change anything in the built artifacts, you could do 
multiple test runs from the same build with or without running the kernel tests.



More information about the lttng-dev mailing list