diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-11-09 06:46:39 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-11-09 06:46:39 (GMT) |
commit | ab3a36e76b2a6cfacd418a0715d0bb709bd5793e (patch) | |
tree | 103662b564d1aa43fe9e79770bfbf6d43a5cf357 /tests/test_cmdline_tool.py | |
parent | f5ce77d435d2dbbe2ac3d36eafc240785dd2d9fa (diff) |
first version of 'cakebaby' regression testing display program
Diffstat (limited to 'tests/test_cmdline_tool.py')
-rwxr-xr-x | tests/test_cmdline_tool.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_cmdline_tool.py b/tests/test_cmdline_tool.py index 688026e..485a821 100755 --- a/tests/test_cmdline_tool.py +++ b/tests/test_cmdline_tool.py @@ -73,7 +73,9 @@ def compare_png(resultfilename): if not resultfilename: print >> sys.stderr, "Error: OpenSCAD did not generate an image" return False - print >> sys.stderr, 'Yee image compare: ', expectedfilename, ' ', resultfilename + print >> sys.stderr, 'Yee image compare: ' + print >> sys.stderr, ' expected image: ', expectedfilename + print >> sys.stderr, ' actual image: ', resultfilename if execute_and_redirect("./yee_compare", [expectedfilename, resultfilename, "-downsample", "2", "-threshold", "300"], sys.stderr) != 0: return False return True |