From 6f354a6d573104260b3bc801f7e9a527404280cb Mon Sep 17 00:00:00 2001 From: scivision Date: Fri, 17 Feb 2023 10:10:05 -0500 Subject: 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. --- Help/manual/ctest.1.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst index 5e82faa..994ae47 100644 --- a/Help/manual/ctest.1.rst +++ b/Help/manual/ctest.1.rst @@ -11,7 +11,7 @@ Synopsis .. parsed-literal:: `Run Tests`_ - ctest [] + ctest [] [--test-dir ] `Build and Test Mode`_ ctest --build-and-test @@ -354,7 +354,8 @@ Run Tests .. option:: --test-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 -- cgit v0.12