From 0c0b261e4041d9e5fc0b3aef86cc870d39914ab2 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Thu, 27 Oct 2011 16:18:37 +0200 Subject: [PATCH] Increased threshold to 300 to avoid minor details from failing a test --- tests/test_cmdline_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cmdline_tool.py b/tests/test_cmdline_tool.py index 42fca74e..688026ef 100755 --- a/tests/test_cmdline_tool.py +++ b/tests/test_cmdline_tool.py @@ -74,7 +74,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", "-threshold", "200"], sys.stderr) != 0: + if execute_and_redirect("./yee_compare", [expectedfilename, resultfilename, "-downsample", "2", "-threshold", "300"], sys.stderr) != 0: return False return True