mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
add a note how to run selftests using multiconfig generators
This commit is contained in:
parent
3195c242c2
commit
1aa98c76ac
@ -70,6 +70,10 @@ locally takes just a few minutes.
|
|||||||
$ cd debug-build
|
$ cd debug-build
|
||||||
$ ctest -j 2 --output-on-failure
|
$ ctest -j 2 --output-on-failure
|
||||||
```
|
```
|
||||||
|
__Note:__ When running your tests with multi-configuration generators like
|
||||||
|
Visual Studio, you might get errors "Test not available without configuration."
|
||||||
|
You then have to pick one configuration (e.g. ` -C Debug`) in the `ctest` call.
|
||||||
|
|
||||||
If you added new tests, approval tests are very likely to fail. If they
|
If you added new tests, approval tests are very likely to fail. If they
|
||||||
do not, it means that your changes weren't run as part of them. This
|
do not, it means that your changes weren't run as part of them. This
|
||||||
_might_ be intentional, but usually is not.
|
_might_ be intentional, but usually is not.
|
||||||
|
Loading…
Reference in New Issue
Block a user