Fix reporter detection in catch_discover_tests

Closes #2668
Instead of grepping for the reporter, use it in the process and check for the error code
This commit is contained in:
Arne Mertz
2023-04-04 16:48:39 +02:00
committed by Martin Hořeňovský
parent 9f08097f55
commit 50bf00e266
2 changed files with 22 additions and 22 deletions

View File

@@ -35,7 +35,7 @@ same as the Catch name; see also ``TEST_PREFIX`` and ``TEST_SUFFIX``.
[TEST_LIST var]
[REPORTER reporter]
[OUTPUT_DIR dir]
[OUTPUT_PREFIX prefix}
[OUTPUT_PREFIX prefix]
[OUTPUT_SUFFIX suffix]
)