summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-06-11 19:21:52 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-06-11 19:21:52 (GMT)
commit90d6c9eaa5af82e55d4e1c37d73b376c7be8bff3 (patch)
tree320ab0929745cbecade4816867313938cb6f913c
parenta735498be5a572236755cc3da65bf4774cbac25c (diff)
parentf4cc9a72c1448793f0fb827689fbc446e6ed81d4 (diff)
downloadDoxygen-90d6c9eaa5af82e55d4e1c37d73b376c7be8bff3.zip
Doxygen-90d6c9eaa5af82e55d4e1c37d73b376c7be8bff3.tar.gz
Doxygen-90d6c9eaa5af82e55d4e1c37d73b376c7be8bff3.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
-rw-r--r--testing/022_dot.cpp2
-rw-r--r--testing/031_image.dox2
-rw-r--r--testing/runtests.py8
3 files changed, 8 insertions, 4 deletions
diff --git a/testing/022_dot.cpp b/testing/022_dot.cpp
index 2db7c38..74d3f7a 100644
--- a/testing/022_dot.cpp
+++ b/testing/022_dot.cpp
@@ -1,7 +1,7 @@
// objective: test the \dot and \enddot commands
// check: indexpage.xml
// config: HAVE_DOT = YES
-// config: DOTFILE_DIRS = .
+// config: DOTFILE_DIRS = $INPUTDIR
/*! class B */
class B {};
diff --git a/testing/031_image.dox b/testing/031_image.dox
index 96ba43b..f437086 100644
--- a/testing/031_image.dox
+++ b/testing/031_image.dox
@@ -1,6 +1,6 @@
// objective: test the \image command
// check: indexpage.xml
-// config: IMAGE_PATH = .
+// config: IMAGE_PATH = $INPUTDIR
/** \mainpage
* Some text.
* \image html sample.png
diff --git a/testing/runtests.py b/testing/runtests.py
index a5e82bf..149d457 100644
--- a/testing/runtests.py
+++ b/testing/runtests.py
@@ -25,7 +25,7 @@ class Tester:
elif not os.path.isfile(expected_file):
return (True,'%s absent' % expected_file)
else:
- diff = os.popen('diff -u %s %s' % (got_file,expected_file)).read()
+ diff = os.popen('diff -b -w -u %s %s' % (got_file,expected_file)).read()
if diff and not diff.startswith("No differences"):
return (True,'Difference between generated output and reference:\n%s' % diff)
return (False,'')
@@ -66,7 +66,11 @@ class Tester:
sys.exit(1)
# run doxygen
- if os.system('%s %s/Doxyfile 2>/dev/null' % (self.args.doxygen,self.test_out))!=0:
+ if (sys.platform == 'win32'):
+ redir=' > nul:'
+ else:
+ redir=' 2> /dev/null'
+ if os.system('%s %s/Doxyfile %s' % (self.args.doxygen,self.test_out, redir))!=0:
print('Error: failed to run %s on %s/Doxyfile' % (self.args.doxygen,self.test_out));
sys.exit(1)