summaryrefslogtreecommitdiffstats
path: root/testing/runtests.py
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-06-03 20:08:23 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-06-03 20:08:23 (GMT)
commit0dc4eda500e803a65a10445719c97d7e523897da (patch)
tree4f302b35c9da4f6175cdea01ec732971fc9d3d2c /testing/runtests.py
parent0300df460afd3d467860947b1ea60fcb23fcd793 (diff)
downloadDoxygen-0dc4eda500e803a65a10445719c97d7e523897da.zip
Doxygen-0dc4eda500e803a65a10445719c97d7e523897da.tar.gz
Doxygen-0dc4eda500e803a65a10445719c97d7e523897da.tar.bz2
Fixes for running tests and generating docs with cmake
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 d0e18dc..64305cc 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:
+ if diff and not diff.isspace():
return (True,'Difference between generated output and reference:\n%s' % diff)
return (False,'')