diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-10-03 02:25:02 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-10-03 02:25:02 +0200 |
commit | 9baaeade7cfca46f79af20f9e9235b80a3aa9735 (patch) | |
tree | 4fc0c4ad6ce12ecc95d3b6fa088017592483453a /tools | |
parent | 8a50de7e65a9121eb676bc0802c798f1886b35c7 (diff) |
Get sanity to output more interesting information if it fails.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/buildgen/generate_projects.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/buildgen/generate_projects.py b/tools/buildgen/generate_projects.py index c3e2b12051..e0bd6759bd 100755 --- a/tools/buildgen/generate_projects.py +++ b/tools/buildgen/generate_projects.py @@ -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) |