]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Report skipped tests to cmake/ctest (#2429)
authorMostyn Bramley-Moore <mostyn@antipode.se>
Mon, 9 Dec 2024 02:07:49 +0000 (03:07 +0100)
committerMartin Matuska <martin@matuska.de>
Tue, 11 Mar 2025 09:25:58 +0000 (10:25 +0100)
commit700b3a09ec36fba955bc7d147e76656fc335b426
tree7fd94493c88d1b7fb3b9c8f819530335ccafdc11
parente8920dd26298f3a06d5b13d6a87b441c25aed5c6
Report skipped tests to cmake/ctest (#2429)

This plumbing is required for cmake/ctest to recognise and report
skipped tests.

Now skipped tests in cmake ci jobs are reported like so:
```
          Start   7: libarchive_test_acl_platform_posix1e_read
    7/785 Test   #7: libarchive_test_acl_platform_posix1e_read ................................***Skipped   0.02 sec
```

And there is a list of skipped tests shown at the end of the test run.

(cherry picked from commit 8ac45a813e78fe6f2f8c40f0219f106a7ff9a28f)
cat/test/CMakeLists.txt
cpio/test/CMakeLists.txt
libarchive/test/CMakeLists.txt
tar/test/CMakeLists.txt
test_utils/test_main.c
unzip/test/CMakeLists.txt