Skip to content

Commit

Permalink
[README] Update how to run ctest inside the build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Nov 9, 2023
1 parent 45550bb commit adad051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ re-run the CMake generation step, a new target named `path.to.file` will be
created, and a test of the same name will also be created. Hence,
```shell
cmake --build build --target path.to.file # Builds the program associated to path/to/file.cpp
cd build && ctest -R path.to.file # Runs the program as a test
ctest --test-dir build -R path.to.file # Runs the program as a test
```
> #### Tip for Sublime Text users
Expand Down

0 comments on commit adad051

Please sign in to comment.