From 41c08f081627e206e16acbcfbd9157ac9944b921 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sat, 12 Oct 2024 10:31:42 +1000 Subject: test: add litest-runner as test suite runner This replaces check. The code is a copy of pwtest which I wrote years ago for pipewire but adjusted for us here the last few days. There are a few advantages over check: - Ability to SKIP tests or mark them as NOT_APPLICABLE, the latter of which is used for early checks if a device doesn't meet requirements. - it captures stdout/stderr separately - colors! - YAML output format makes it a lot easier to read the results and eventually parse them for e.g. "restart failed tests" Less abstraction: we set up the tests, pass them to the runner and run them with the given number of forks. This is an improvement over before where we forked into N test suites which each called check which then forked again. Since we're now keeping track of those processes ourselves we can also write tests that are expected to fail with signals. Part-of: --- test/test-totem.c | 1 - 1 file changed, 1 deletion(-) (limited to 'test/test-totem.c') diff --git a/test/test-totem.c b/test/test-totem.c index 7f7dc3b1..63355953 100644 --- a/test/test-totem.c +++ b/test/test-totem.c @@ -23,7 +23,6 @@ #include -#include #include #include #include -- cgit v1.2.3