[gegl] tests: Include jp2-load.xml only if HAVE_JASPER



commit 8502834fb8f602e4a149cac5e8803240af3b6268
Author: Martin Nordholts <martinn src gnome org>
Date:   Sat Aug 14 10:04:40 2010 +0200

    tests: Include jp2-load.xml only if HAVE_JASPER
    
    Include jp2-load.xml only if HAVE_JASPER. We ignore that fact that it
    happens to pass due to fallback loading,

 tests/compositions/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index 825a083..89fb5ad 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -37,7 +37,6 @@ TESTS = \
   run-downsmoothtest-broken.xml.sh     \
   run-fattal02.xml.sh                  \
   run-hdr-color.xml.sh                 \
-  run-jp2-load.xml.sh                  \
   run-mantiuk06.xml.sh                 \
   run-reflect.xml.sh                   \
   run-reflect2.xml.sh                  \
@@ -52,6 +51,11 @@ TESTS = \
   run-upsizetest.xml.sh                \
   run-upsmoothtest.xml.sh
 
+# Conditional tests
+if HAVE_JASPER
+TESTS += run-jp2-load.xml.sh
+endif
+
 # Create a separate executable script for each composition test to run
 test_to_xml = $(abs_srcdir)/$(subst $(testsuffix),,$(subst $(testprefix),,$(1)))
 test_to_ref = $(wildcard $(abs_srcdir)/reference/$(basename $(notdir $(call test_to_xml,$(1)))).*)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]