[gegl] tests: only include jpeg/tiff load tests when libjpeg/libtiff included in build. Fixes issue #260
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] tests: only include jpeg/tiff load tests when libjpeg/libtiff included in build. Fixes issue #260
- Date: Sat, 20 Feb 2021 22:28:49 +0000 (UTC)
commit be18a086cf67899863568526614e276893631590
Author: John Marshall <jtm home gmail com>
Date: Fri Jan 29 22:54:24 2021 +0000
tests: only include jpeg/tiff load tests when
libjpeg/libtiff included in build. Fixes issue #260
tests/compositions/meson.build | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/tests/compositions/meson.build b/tests/compositions/meson.build
index 0337a9b50..7f60180d1 100644
--- a/tests/compositions/meson.build
+++ b/tests/compositions/meson.build
@@ -54,19 +54,23 @@ endif
composition_tests_without_opencl = [
'color-reduction',
- 'jpg-load-datauri',
'pnm-ascii-load',
'pnm-raw-load',
'rgbe-load',
'rgbe-save',
'shift',
'stretch-contrast-hsv',
- 'tiff-load',
'tile',
]
if jasper.found()
composition_tests_without_opencl += 'jp2-load'
endif
+if libjpeg.found()
+ composition_tests_without_opencl += 'jpg-load-datauri'
+endif
+if libtiff.found()
+ composition_tests_without_opencl += 'tiff-load'
+endif
# Timeout for tests that require extra time to run
# test-name : timeout <int>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]