From ff7676aee1e7d7073084991ae6ae278112a93a8f Mon Sep 17 00:00:00 2001 From: anthony Date: Mon, 18 Jun 2012 07:26:51 +0000 Subject: [PATCH] tests were not reported round trip failures! --- tests/validate-colorspace.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/validate-colorspace.sh b/tests/validate-colorspace.sh index 55ced8136..ea3c61ee8 100755 --- a/tests/validate-colorspace.sh +++ b/tests/validate-colorspace.sh @@ -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 -- 2.40.0