summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-01-05 13:52:23 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-01-05 13:52:23 (GMT)
commitd0cca5f0bca7ddf2b1f4681fb76132c76b59ab37 (patch)
treefe5e26955d1c18f747a26db1cae5cf3625225965 /testing
parent5d66d2ea14a173edb3d6b7ffaabd0196392fcb0f (diff)
downloadDoxygen-d0cca5f0bca7ddf2b1f4681fb76132c76b59ab37.zip
Doxygen-d0cca5f0bca7ddf2b1f4681fb76132c76b59ab37.tar.gz
Doxygen-d0cca5f0bca7ddf2b1f4681fb76132c76b59ab37.tar.bz2
Fixed missing end paragraph marker when inline image appeared as last item.
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/runtests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/runtests.py b/testing/runtests.py
index 452c36e..0ff0e6f 100755
--- a/testing/runtests.py
+++ b/testing/runtests.py
@@ -336,8 +336,9 @@ class TestManager:
return 0 if self.args.updateref else res
def prepare_dtd(self):
- shutil.rmtree("dtd",ignore_errors=True)
- shutil.copytree(self.args.inputdir+"/dtd", "dtd")
+ if self.args.inputdir!='.':
+ shutil.rmtree("dtd",ignore_errors=True)
+ shutil.copytree(self.args.inputdir+"/dtd", "dtd")
def main():
# argument handling