summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2021-04-22 23:38:43 (GMT)
committerZack Galbreath <zack.galbreath@kitware.com>2021-04-26 12:55:22 (GMT)
commit25bf514447501963a31934b5b03c65aeb53a351f (patch)
tree9a8392707d6376d588da56100a9ab214abd2ef43 /Source/ctest.cxx
parenteeb771e4d6b9a1127a0818a211cafb722a2dc387 (diff)
downloadCMake-25bf514447501963a31934b5b03c65aeb53a351f.zip
CMake-25bf514447501963a31934b5b03c65aeb53a351f.tar.gz
CMake-25bf514447501963a31934b5b03c65aeb53a351f.tar.bz2
ctest: Add support for writing test results in JUnit XML format
Addresses #18654
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index a4b85ae..cad27fa 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -50,6 +50,7 @@ static const char* cmDocumentationOptions[][2] = {
"given number of jobs." },
{ "-Q,--quiet", "Make ctest quiet." },
{ "-O <file>, --output-log <file>", "Output to log file" },
+ { "--output-junit <file>", "Output test results to JUnit XML file." },
{ "-N,--show-only[=format]",
"Disable actual execution of tests. The optional 'format' defines the "
"format of the test information and can be 'human' for the current text "