From be790fedb95160c636353ce88f5ccc0d62eb1c46 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 10 Dec 2025 03:06:54 -0800 Subject: [PATCH 1/2] docs/testsuite: clarify origin of cjpeg/djpeg Signed-off-by: Benjamin Gilbert --- docs/testsuite/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/testsuite/index.md b/docs/testsuite/index.md index 5e1600a..3b9812a 100644 --- a/docs/testsuite/index.md +++ b/docs/testsuite/index.md @@ -13,7 +13,7 @@ To run the test suite, you will need: - PyYAML - python-requests - `xdelta3` -- `cjpeg` and `djpeg`, from libjpeg +- `cjpeg` and `djpeg`, from libjpeg-turbo or IJG libjpeg - At least one installed font Sanitize mode requires: From 69e798b43394f8b467ef1d47f87bbef1243406c9 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 10 Dec 2025 03:09:29 -0800 Subject: [PATCH 2/2] docs/testsuite: update for dependency handling in Meson https://github.com/openslide/openslide/pull/702 Signed-off-by: Benjamin Gilbert --- docs/testsuite/index.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/testsuite/index.md b/docs/testsuite/index.md index 3b9812a..beb5264 100644 --- a/docs/testsuite/index.md +++ b/docs/testsuite/index.md @@ -10,12 +10,12 @@ To run the test suite, you will need: - A Git checkout of OpenSlide - ≥ 120 GB of disk space (25 GB on XFS, btrfs, or APFS) -- PyYAML -- python-requests - `xdelta3` - `cjpeg` and `djpeg`, from libjpeg-turbo or IJG libjpeg - At least one installed font +`xdelta3` is built automatically if you configure with `-Dtest=enabled`. + Sanitize mode requires: - clang @@ -203,10 +203,11 @@ properties: # Generate test case files programmatically at unpack time. Useful when # test cases can be deterministically produced by a program but their deltas # are too large to check in. Of course this introduces a dependency on the -# specified program. Use with caution, and only as a last resort. +# specified program, which should be detected by Meson and its filesystem +# path plumbed into the driver. Use with caution, and only as a last resort. generate: ? "CMU-1-40x - 2010-01-12 13.24.05(1,1).jpg" - : "jpegtran -restart 256B -outfile %(out)s %(in)s" + : "%(jpegtran) -restart 256B -outfile %(out)s %(in)s" # Copy test case files during unpack. copy: