Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

ParseAndAddCatchTests: Document AdditionalCatchParameters variable

Commit
15ccced6da350d2f942534bf75bd07813e6b81ed
Author
Daniele E. Domenichelli ·
Committer
Martin Hořeňovský
Parents
682617b5b7c7

Files · Download .tar.gz

Changes

 contrib/ParseAndAddCatchTests.cmake | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/ParseAndAddCatchTests.cmake b/contrib/ParseAndAddCatchTests.cmake
index 4382e7c4..86eaefa0 100644
--- a/contrib/ParseAndAddCatchTests.cmake
+++ b/contrib/ParseAndAddCatchTests.cmake
@@ -44,6 +44,10 @@
 #     set(OptionalCatchTestLauncher ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} ${NUMPROC})                 #
 # just before calling this ParseAndAddCatchTests function                                          #
 #                                                                                                  #
+# The AdditionalCatchParameters optional variable can be used to pass extra argument to the test   #
+# command. For example, to include successful tests in the output, one can write                   #
+#     set(AdditionalCatchParameters --success)                                                     #
+#                                                                                                  #
 # After the script, the ParseAndAddCatchTests_TESTS property for the target, and for each source   #
 # file in the target is set, and contains the list of the tests extracted from that target, or     #
 # from that file. This is useful, for example to add further labels or properties to the tests.    #