diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-06-03 20:35:10 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-06-03 20:35:10 (GMT) |
commit | 4716f426332d02eb6841c509658b8a709cce9318 (patch) | |
tree | 444294790ce76b1e095618baea9efcc5aeb86382 /testing | |
parent | 0dc4eda500e803a65a10445719c97d7e523897da (diff) | |
download | Doxygen-4716f426332d02eb6841c509658b8a709cce9318.zip Doxygen-4716f426332d02eb6841c509658b8a709cce9318.tar.gz Doxygen-4716f426332d02eb6841c509658b8a709cce9318.tar.bz2 |
Support diff that returns "No differences encountered" when comparing test results
Diffstat (limited to 'testing')
-rw-r--r-- | testing/runtests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/runtests.py b/testing/runtests.py index 64305cc..a5e82bf 100644 --- a/testing/runtests.py +++ b/testing/runtests.py @@ -26,7 +26,7 @@ class Tester: return (True,'%s absent' % expected_file) else: diff = os.popen('diff -u %s %s' % (got_file,expected_file)).read() - if diff and not diff.isspace(): + if diff and not diff.startswith("No differences"): return (True,'Difference between generated output and reference:\n%s' % diff) return (False,'') |