From c9858b5115d1526d752031f232ea652e5a0de28d Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 28 Apr 2019 11:08:30 +0200 Subject: Create option to enable CLANG_ASISTED_PARSING in test suite Create possibility to use CLANG_ASSISTED_PARSING, works only when doxygen has been compiled with "use_libclang" Note at this moment the test suite gives an error, see issue #6948 --- testing/runtests.py | 5 +++++ 1 file changed, 5 insertions(+) mode change 100755 => 100644 testing/runtests.py diff --git a/testing/runtests.py b/testing/runtests.py old mode 100755 new mode 100644 index d132da5..fa3c186 --- a/testing/runtests.py +++ b/testing/runtests.py @@ -116,6 +116,8 @@ class Tester: print('LATEX_OUTPUT=%s/latex' % self.test_out, file=f) if self.args.subdirs: print('CREATE_SUBDIRS=YES', file=f) + if (self.args.clang): + print('CLANG_ASSISTED_PARSING=YES', file=f) if (self.args.cfgs): for cfg in list(itertools.chain.from_iterable(self.args.cfgs)): if cfg.find('=') == -1: @@ -435,6 +437,9 @@ def main(): action="store_true") parser.add_argument('--subdirs',help='use the configuration parameter CREATE_SUBDIRS=YES', action="store_true") + parser.add_argument('--clang',help='use CLANG_ASSISTED_PARSING, works only when ' + 'doxygen has been compiled with "use_libclang"', + action="store_true") parser.add_argument('--keep',help='keep result directories', action="store_true") parser.add_argument('--cfg',nargs='+',dest='cfgs',action='append',help= -- cgit v0.12