From 80b45ff28ebeb083cd7409a41001aa5f5f1fc1e8 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 21 Jul 2025 11:51:54 +1000 Subject: [PATCH] test: a skipped test does not count as failure There's a blurry line between NOT_APPLICABLE and SKIP but the latter has a stronger "should run but can't right now". But where it happens the skip shouldn't count as a failure. Part-of: --- test/litest-runner.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/litest-runner.c b/test/litest-runner.c index db2a8901..0f1b8a46 100644 --- a/test/litest-runner.c +++ b/test/litest-runner.c @@ -1110,6 +1110,7 @@ litest_runner_run_tests(struct litest_runner *runner) list_for_each(t, &runner->tests_complete, node) { switch (t->result) { case LITEST_PASS: + case LITEST_SKIP: case LITEST_NOT_APPLICABLE: break; default: