]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
ci: make skipped tests more obvious (#2430)
authorMostyn Bramley-Moore <mostyn@antipode.se>
Mon, 9 Dec 2024 02:08:34 +0000 (03:08 +0100)
committerGitHub <noreply@github.com>
Mon, 9 Dec 2024 02:08:34 +0000 (18:08 -0800)
Previously skipped tests were reported like this when running the *_test
binaries:
```
 4: test_acl_platform_nfs4                                          ok (S)
```

Let's make this more obvious:
```
  4: test_acl_platform_nfs4                                         skipped
```

test_utils/test_main.c

index 128a11def404a95bdb4b51a234d28aa799df87c0..ac4d3a078e235aef81482ed6373c2bc0dce9d7a6 100644 (file)
@@ -3528,7 +3528,7 @@ test_summarize(int failed, int skips_num)
                fflush(stdout);
                break;
        case VERBOSITY_PASSFAIL:
-               printf(failed ? "FAIL\n" : skips_num ? "ok (S)\n" : "ok\n");
+               printf(failed ? "FAIL\n" : skips_num ? "skipped\n" : "ok\n");
                break;
        }