diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-06-06 07:57:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 07:57:48 (GMT) |
commit | 8c8a0343662f69ce65ced20dc8c6025e7fc022cd (patch) | |
tree | 381fa22b7f604f3b3da9a56512cad719c05beebf /testing | |
parent | ca24685fbbb1b861a1bd7cc6324407ca0424b325 (diff) | |
parent | 26edad9186f1044a6d657fbc58cf0370cfcbb407 (diff) | |
download | Doxygen-8c8a0343662f69ce65ced20dc8c6025e7fc022cd.zip Doxygen-8c8a0343662f69ce65ced20dc8c6025e7fc022cd.tar.gz Doxygen-8c8a0343662f69ce65ced20dc8c6025e7fc022cd.tar.bz2 |
Merge pull request #8586 from albert-github/feature/bug_test_subdir
Running tests with subdirs enabled
Diffstat (limited to 'testing')
-rwxr-xr-x | testing/runtests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/runtests.py b/testing/runtests.py index 236a1c3..377a56b 100755 --- a/testing/runtests.py +++ b/testing/runtests.py @@ -257,6 +257,7 @@ class Tester: else: check_file = check_file[0] # convert output to canonical form + check_file = check_file.replace('\\','/') data = xpopen('%s --format --noblanks --nowarning %s' % (self.args.xmllint,check_file)) if data: # strip version @@ -264,6 +265,8 @@ class Tester: else: msg += ('Failed to run %s on the doxygen output file %s' % (self.args.xmllint,self.test_out),) break + if self.args.subdirs: + data = re.sub('d[0-9a-f]/d[0-9a-f][0-9a-f]/','',data) out_file='%s/%s' % (self.test_out,check) with xopen(out_file,'w') as f: print(data,file=f) |