Run all C++ tests from a single executable (#3582)

This commit is contained in:
Dustin J. Mitchell 2024-08-11 20:20:17 -04:00 committed by GitHub
parent 4ff63a7960
commit c719cce4f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 138 additions and 94 deletions

View file

@ -52,9 +52,9 @@ cmake --build build-clang
## Run the Test Suite:
For running the test suite [ctest](https://cmake.org/cmake/help/latest/manual/ctest.1.html) is used.
Before one can run the test suite the `task_executable` must be built.
After that also the `build_tests` target must be build, which can be done over:
After that also the `test_runner` target must be build, which can be done over:
```sh
cmake --build build --target build_tests
cmake --build build --target test_runner
```
Again you may also use the `-j <number-of-jobs>` option for parallel builds.