summaryrefslogtreecommitdiffstats
path: root/testing/runtests.py
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-06-03 20:35:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-06-03 20:35:10 (GMT)
commit4716f426332d02eb6841c509658b8a709cce9318 (patch)
tree444294790ce76b1e095618baea9efcc5aeb86382 /testing/runtests.py
parent0dc4eda500e803a65a10445719c97d7e523897da (diff)
downloadDoxygen-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/runtests.py')
-rw-r--r--testing/runtests.py2
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,'')