diff options
author | Justin Goshi <jgoshi@microsoft.com> | 2018-10-18 18:34:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-10 12:37:32 (GMT) |
commit | fc41a95f0803abb2b5daa4f0eb21cf38c625bd26 (patch) | |
tree | bcb027bb2f3a2bfe453b78b7a82a2c2c420fc833 /Source/ctest.cxx | |
parent | 7b81d8c21e0a0d8756f0afdc0530c2d06ee3bcd4 (diff) | |
download | CMake-fc41a95f0803abb2b5daa4f0eb21cf38c625bd26.zip CMake-fc41a95f0803abb2b5daa4f0eb21cf38c625bd26.tar.gz CMake-fc41a95f0803abb2b5daa4f0eb21cf38c625bd26.tar.bz2 |
CTest: Add --show-only[=format] option to print test info
format can be 'human' to print the current text format or 'json-v1' to
print the test object model in json format and is useful for IDEs who
want to gather information about the tests. Defaults to 'human' format.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index ca412ae..8ba126f 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -46,7 +46,10 @@ static const char* cmDocumentationOptions[][2] = { "given number of jobs." }, { "-Q,--quiet", "Make ctest quiet." }, { "-O <file>, --output-log <file>", "Output to log file" }, - { "-N,--show-only", "Disable actual execution of tests." }, + { "-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 " + "format or 'json-v1' for json format. Defaults to 'human'." }, { "-L <regex>, --label-regex <regex>", "Run tests with labels matching " "regular expression." }, |