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

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/ToStringVector.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2025-09-21 11:19:18 +0200
committerMartin Hořeňovský2025-09-22 14:02:45 +0200
commit8ed8c431c601c7b303dbfe7eb412a63f1641b812 (patch)
tree4e23dd0b60bfb09b58bb5bac770965c83243c569 /tests/SelfTest/UsageTests/ToStringVector.tests.cpp
parentdc3a4ea41a78c643fbfa07b1cb456738c9e25ef6 (diff)
downloadcatch3-8ed8c431c601c7b303dbfe7eb412a63f1641b812.tar.gz
Support Bazel's TEST_PREMATURE_EXIT_FILE and add it to CLI as well
This tells Catch2 to create an empty file at specified path before the tests start, and delete it after the tests finish. This allows callers to catch cases where the test binary silently exits before finishing (e.g. via call to `exit(0)` inside the code under test), by looking whether the file still exists. Closes #3020
Diffstat (limited to 'tests/SelfTest/UsageTests/ToStringVector.tests.cpp')
0 files changed, 0 insertions, 0 deletions