diff options
-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) |