summaryrefslogtreecommitdiff
path: root/tests/test_cmdline_tool.py
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-21 16:42:11 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-21 16:42:11 (GMT)
commit9113cf42d08e828a2ba7c4e40ac24a937f17b306 (patch)
tree0b0072e456d14a0813f7c79a471774759c040e63 /tests/test_cmdline_tool.py
parent0e59b194abbe5b261e5aa8ca9fcaaffc6b019b01 (diff)
Handle missing expected files gracefully
Diffstat (limited to 'tests/test_cmdline_tool.py')
-rwxr-xr-xtests/test_cmdline_tool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmdline_tool.py b/tests/test_cmdline_tool.py
index 848a6eb..967e334 100755
--- a/tests/test_cmdline_tool.py
+++ b/tests/test_cmdline_tool.py
@@ -93,7 +93,7 @@ def compare_png(resultfilename):
compare_method = 'NCC'
msg = 'ImageMagick image comparison: ' + options.convert_exec + ' '+ ' '.join(args[2:])
- msg += '\nexpected image: ' + expectedfilename + '\n'
+ msg += '\n expected image: ' + expectedfilename + '\n'
print >> sys.stderr, msg
if not resultfilename:
print >> sys.stderr, "Error: OpenSCAD did not generate an image to test"
contact: Jan Huwald // Impressum