Increased threshold to 300 to avoid minor details from failing a test

stl_dim
Marius Kintel 2011-10-27 16:18:37 +02:00
parent 16042907c3
commit 0c0b261e40
1 changed files with 1 additions and 1 deletions

View File

@ -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