]> granicus.if.org Git - imagemagick/commitdiff
tests were not reported round trip failures!
authoranthony <anthony@git.imagemagick.org>
Mon, 18 Jun 2012 07:26:51 +0000 (07:26 +0000)
committeranthony <anthony@git.imagemagick.org>
Mon, 18 Jun 2012 07:26:51 +0000 (07:26 +0000)
tests/validate-colorspace.sh

index 55ced81360bfdfdda8041c09d922d77f2fd814ed..ea3c61ee83bedbfc8b73193a07d6d369ed0f438e 100755 (executable)
@@ -81,10 +81,12 @@ test_color() {
   error=false
   if [ "X$color" = "X$too_light" ]; then
     printf "$format" "$test" "TOO_LIGHT"
+    error=true
     return
   fi
   if [ "X$color" = "X$too_dark" ]; then
     printf "$format" "$test" "TOO_DARK"
+    error=true
     return
   fi
   printf "$format" "$test" "UNKNOWN COLOR (expect $average, got $color)"
@@ -101,7 +103,7 @@ test_color RGB XYZ sRGB
 test_color LAB     sRGB
 test_color XYZ LAB sRGB
 test_color LAB XYZ sRGB
-test_color RGB LAB sRGB  # this is failing
+test_color RGB LAB sRGB
 test_color LAB RGB sRGB
 
 test_color CMY   sRGB