From 790c9a19258876b93781b70af14c71915a746904 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sun, 16 Oct 2011 18:08:34 +0200 Subject: Increase pixel diff threshold diff --git a/tests/test_cmdline_tool.py b/tests/test_cmdline_tool.py index e6a84cf..b6afbec 100755 --- a/tests/test_cmdline_tool.py +++ b/tests/test_cmdline_tool.py @@ -117,7 +117,7 @@ def compare_png(resultfilename): print >> sys.stderr, "Error: OpenSCAD did not generate an image" return False print >> sys.stderr, 'Yee image compare: ', expectedfilename, ' ', resultfilename - if execute_and_redirect("./yee_compare", [expectedfilename, resultfilename, "-downsample", "2"], sys.stderr) != 0: + if execute_and_redirect("./yee_compare", [expectedfilename, resultfilename, "-downsample", "2", "-threshold", "200"], sys.stderr) != 0: append_html_output(expectedfilename, resultfilename) return False return True -- cgit v0.10.1