ParseAndAddCatchTests: Document AdditionalCatchParameters variable

This commit is contained in:
Daniele E. Domenichelli 2019-03-07 15:07:59 +01:00 committed by Martin Hořeňovský
parent 682617b5b7
commit 15ccced6da
1 changed files with 4 additions and 0 deletions

View File

@ -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. #