mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
Help: ctest(1): emphasize the --test-dir option
it seems few people know of this option and needlessly add extra shell commands to change directory.
This commit is contained in:
@@ -11,7 +11,7 @@ Synopsis
|
||||
.. parsed-literal::
|
||||
|
||||
`Run Tests`_
|
||||
ctest [<options>]
|
||||
ctest [<options>] [--test-dir <path-to-build>]
|
||||
|
||||
`Build and Test Mode`_
|
||||
ctest --build-and-test <path-to-source> <path-to-build>
|
||||
@@ -354,7 +354,8 @@ Run Tests
|
||||
|
||||
.. option:: --test-dir <dir>
|
||||
|
||||
Specify the directory in which to look for tests.
|
||||
Specify the directory in which to look for tests, typically a CMake project
|
||||
build directory. If not specified, the current directory is used.
|
||||
|
||||
.. option:: --test-output-size-passed <size>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user