]> 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)
committerGitHub <noreply@github.com>
Mon, 9 Dec 2024 02:07:49 +0000 (18:07 -0800)
commit8ac45a813e78fe6f2f8c40f0219f106a7ff9a28f
tree7100b940adedb777d604ae1801201b54196d9517
parentba76798136062868d2cbe80648ebc6fe2ebfbaed
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.
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