Files
linux/tools/build/feature/test-libcheck.c
Costa Shulyupin 153e211fc7 tools/build: Add feature test for libcheck
Enable support for unit tests in rtla.

Note that the pkg-config file for libcheck is named check.pc.

Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Link: https://lore.kernel.org/r/20260119105857.797498-2-costa.shul@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
2026-03-04 15:51:56 +01:00

9 lines
125 B
C

// SPDX-License-Identifier: GPL-2.0
#include <check.h>
int main(void)
{
Suite *s = suite_create("test");
return s == 0;
}