summaryrefslogtreecommitdiff
path: root/test/html/driver.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/html/driver.sh')
-rwxr-xr-xtest/html/driver.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/html/driver.sh b/test/html/driver.sh
index 5c69fcde..08bdb13e 100755
--- a/test/html/driver.sh
+++ b/test/html/driver.sh
@@ -77,7 +77,7 @@ function test_file() {
render_page "$ref_file" "$wdir/ref.png"
# AE = Absolute Error count of the number of different pixels
- diffcount=$(compare -metric AE "$wdir/html.png" "$wdir/ref.png" "$wdir/diff.png" 2>&1)
+ diffcount=$(compare -metric AE "$wdir/html.png" "$wdir/ref.png" "$wdir/diff.png" 2>&1 || true)
# The test passes only if both images are identical
if [ "$diffcount" = "0" ]; then