summaryrefslogtreecommitdiffstats
path: root/testing/runtests.py
diff options
context:
space:
mode:
authorTushar Maheshwari <tushar27192@gmail.com>2018-05-13 06:37:34 (GMT)
committerTushar Maheshwari <tushar27192@gmail.com>2018-05-13 06:37:34 (GMT)
commit33f574a534239b9d9e713b8d4c9d1d1dedf4d177 (patch)
treece3849c4d3f87d1b6049dd3461fa551f56c884a7 /testing/runtests.py
parentc78c338fffbdbb9b2379b1896e647f7cc697da57 (diff)
downloadDoxygen-33f574a534239b9d9e713b8d4c9d1d1dedf4d177.zip
Doxygen-33f574a534239b9d9e713b8d4c9d1d1dedf4d177.tar.gz
Doxygen-33f574a534239b9d9e713b8d4c9d1d1dedf4d177.tar.bz2
Problem with TEST_FLAGS when using CMake for Visual Studio
Diffstat (limited to 'testing/runtests.py')
-rw-r--r--testing/runtests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/runtests.py b/testing/runtests.py
index a714cd8..9330d23 100644
--- a/testing/runtests.py
+++ b/testing/runtests.py
@@ -293,7 +293,8 @@ def main():
action="store_true")
parser.add_argument('--keep',help='keep result directories',
action="store_true")
- args = parser.parse_args()
+ test_flags = os.getenv('TEST_FLAGS', default='').split()
+ args = parser.parse_args(test_flags + sys.argv[1:])
# sanity check
if (not args.xml) and (not args.pdf) and (not args.xhtml):