Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/docs/contributing.md
diff options
context:
space:
mode:
authorMertz, Arne2019-10-17 19:22:39 +0200
committerMartin Hořeňovský2019-10-17 20:23:51 +0200
commit1aa98c76ac1eaa68c6f98dfe96b4bd08b434d229 (patch)
tree16e87bcf639fcfa6e68df93bbaa04b23dd97d8e2 /docs/contributing.md
parent3195c242c2e966b62c13c0a2251a92aeeda87221 (diff)
downloadcatch3-1aa98c76ac1eaa68c6f98dfe96b4bd08b434d229.tar.gz
add a note how to run selftests using multiconfig generators
Diffstat (limited to 'docs/contributing.md')
-rw-r--r--docs/contributing.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/contributing.md b/docs/contributing.md
index 0ae2a427..5429bf9d 100644
--- a/docs/contributing.md
+++ b/docs/contributing.md
@@ -70,6 +70,10 @@ locally takes just a few minutes.
$ cd debug-build
$ 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
do not, it means that your changes weren't run as part of them. This
_might_ be intentional, but usually is not.