Skip to content
Snippets Groups Projects
Commit 9baaeade authored by Nicolas "Pixel" Noble's avatar Nicolas "Pixel" Noble
Browse files

Get sanity to output more interesting information if it fails.

parent 8a50de7e
No related branches found
No related tags found
No related merge requests found
......@@ -78,8 +78,8 @@ jobset.run(jobs)
if test is not None:
for s, g in test.iteritems():
if os.path.isfile(g):
assert(0 == os.system('diff %s %s' % (s, g)))
assert 0 == os.system('diff %s %s' % (s, g)), s
os.unlink(g)
else:
assert(0 == os.system('diff -r %s %s' % (s, g)))
assert 0 == os.system('diff -r %s %s' % (s, g)), s
shutil.rmtree(g, ignore_errors=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment