[gegl] tests: keep more evidence if test-exp-combine fails



commit 49d765d7b6436b7feeab48a6e6e601cc534f5d8b
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Sat Oct 5 20:54:42 2013 -0700

    tests: keep more evidence if test-exp-combine fails

 tests/simple/test-exp-combine.sh |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/tests/simple/test-exp-combine.sh b/tests/simple/test-exp-combine.sh
index b5ab2f9..b5682fb 100755
--- a/tests/simple/test-exp-combine.sh
+++ b/tests/simple/test-exp-combine.sh
@@ -14,11 +14,12 @@ else
           $abs_top_srcdir/tests/compositions/data/parliament_1.jpg \
           $abs_top_srcdir/tests/compositions/data/parliament_2.jpg \
   && $abs_top_builddir/tools/img_cmp                               \
-          $abs_top_builddir/tests/simple/test-exp-combine.hdr      \
-          $abs_top_srcdir/tests/compositions/data/parliament.hdr >/dev/null
+          $abs_top_srcdir/tests/compositions/data/parliament.hdr   \
+          $abs_top_builddir/tests/simple/test-exp-combine.hdr
   failure=$?
-  [ ! $failure -eq 0 ] && echo "imp_cmp failed (we need to fix the test so it passes on many architectures), 
see parliament-diff.png"
-  rm -f $abs_top_builddir/tests/simple/test-exp-combine.hdr
+  if [ $failure -eq 0 ]; then
+    rm -f $abs_top_builddir/tests/simple/test-exp-combine.hdr
+  fi
 fi
 
 exit $failure


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