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: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1276>
This commit is contained in:
Peter Hutterer 2025-07-21 11:51:54 +10:00
parent 35838e9b2c
commit 80b45ff28e

View file

@ -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: