[gegl] tests: update color-reduction test due to enum changes



commit 09d9655beb7f8032c6df1ed113ba374ffc698b4b
Author: Øyvind Kolås <pippin gimp org>
Date:   Tue Jun 27 16:26:15 2017 +0200

    tests: update color-reduction test due to enum changes
    
    Likely fixing bug #784247

 tests/compositions/Makefile.am                   |    4 ++--
 tests/compositions/color-reduction.xml           |    2 +-
 tests/compositions/reference/color-reduction.png |  Bin 298374 -> 313334 bytes
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index e4dfa2a..6215107 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -86,10 +86,10 @@ endif
 check-TESTS: $(TESTS)
        $(PYTHON) $(srcdir)/run-compositions.py \
          --build-dir=$(top_builddir) --src-dir=$(top_srcdir) --xml-dir=$(srcdir) \
-         $(TESTS)
+         $(NO_OPENCL_TESTS)
        $(PYTHON) $(srcdir)/run-compositions.py --without-opencl \
          --build-dir=$(top_builddir) --src-dir=$(top_srcdir) --xml-dir=$(srcdir) \
-         $(NO_OPENCL_TESTS)
+         $(TESTS)
 
 clean-local:
        rm -f output/*
diff --git a/tests/compositions/color-reduction.xml b/tests/compositions/color-reduction.xml
index 3747e3f..5d0ea51 100644
--- a/tests/compositions/color-reduction.xml
+++ b/tests/compositions/color-reduction.xml
@@ -132,7 +132,7 @@
     </node>
     <node operation='gegl:dither'>
       <params>
-       <param name='dither-method'>resilient</param>
+       <param name='dither-method'>add</param>
        <param name='red-levels'>8</param>
        <param name='green-levels'>8</param>
        <param name='blue-levels'>8</param>
diff --git a/tests/compositions/reference/color-reduction.png 
b/tests/compositions/reference/color-reduction.png
index 5b51c1c..79aafd1 100644
Binary files a/tests/compositions/reference/color-reduction.png and 
b/tests/compositions/reference/color-reduction.png differ


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