summaryrefslogtreecommitdiffstats
path: root/testing/runtests.py
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-04-28 09:08:30 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-04-28 09:08:30 (GMT)
commitc9858b5115d1526d752031f232ea652e5a0de28d (patch)
tree17d008d7ae6ae0146bfa158473bc9d975a8522c9 /testing/runtests.py
parent5c9718614b3edebfd5742917bea109f35f0fc99e (diff)
downloadDoxygen-c9858b5115d1526d752031f232ea652e5a0de28d.zip
Doxygen-c9858b5115d1526d752031f232ea652e5a0de28d.tar.gz
Doxygen-c9858b5115d1526d752031f232ea652e5a0de28d.tar.bz2
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
Diffstat (limited to 'testing/runtests.py')
-rw-r--r--[-rwxr-xr-x]testing/runtests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/runtests.py b/testing/runtests.py
index d132da5..fa3c186 100755..100644
--- 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=