libvips/test
Eli Schwartz e73f003d33
skip some skippable tests (#3102)
* tests: consolidate redundant, duplicated helper code

These functions currently exist in a sourced shell library, but there is
an identical copy of them in a single test file. Get rid of this
duplicate definition.

* tests: mark some tests as skipped if bc is not installed

`exit 77` is the GNU exitcode protocol for tests that cannot be run
because their prerequisites are not available. If `bc` is not installed,
and it often isn't, the test can be short-circuited instead of failing;
meson will report them in "warning yellow".

* tests: mark some tests as skipped if support is not compiled

Not all test cases can be cleanly marked as skipped -- sometimes,
multiple things are checked, and having one be unavailable should not
mean skipping all tests.

But in a couple cases, a test file only tests one thing, and that may be
skipped. In such cases, it can be semantically indicated in the test
harness report collection, that a skip occurred.
2022-10-19 18:13:48 +01:00
..
test-suite Merge branch '8.13' 2022-10-19 17:35:36 +01:00
.gitignore Update function list for stream -> source rename 2020-01-01 12:28:18 +01:00
meson.build longer timeout for tests 2022-02-19 16:06:29 +00:00
README.md CI: various improvements (#3096) 2022-10-17 19:08:35 +01:00
test_cli.sh skip some skippable tests (#3102) 2022-10-19 18:13:48 +01:00
test_connections.c fix two small bugs in test_connections.c 2020-10-27 15:11:29 +00:00
test_connections.sh skip some skippable tests (#3102) 2022-10-19 18:13:48 +01:00
test_descriptors.c CI: resolve failures and various improvements (#2426) 2021-09-07 11:14:45 +01:00
test_descriptors.sh make check passes after stream -> source rename 2019-12-30 12:48:20 +00:00
test_formats.sh add "unlimited" to jpegload 2022-08-02 13:50:09 +01:00
test_seq.sh argh reapply seq removal 2017-03-06 11:55:38 +00:00
test_stall.sh skip some skippable tests (#3102) 2022-10-19 18:13:48 +01:00
test_threading.sh LSan improvements and fixes (#2672) 2022-02-19 15:13:42 +00:00
test_thumbnail.sh fix thumbnail with cmyk output 2022-03-11 16:21:12 +00:00
variables.sh.in skip some skippable tests (#3102) 2022-10-19 18:13:48 +01:00

libvips test suite

This is in two parts: a few simple bash scripts in this directory are run on "meson test", and a fancier Python test suite that's run by GitHub actions on each commit.