You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In catch2 v2 we have --list-test-names-only which prints the test names matching a filter.
According to the notes for v3
--list-test-names-only has been removed (#1190)
You should use verbosity-modifiers for --list-tests instead
However -l --verbosity quiet does not produce the same output. It also includes before the first test case:
All available test cases:
And after the last test case:
x test cases
I would like -l --verbosity quiet to only print the test names. That is reproduce the behaviour of --list-test-names-only.
The motivation for this is similar to the comment on the issue relating to the removal of the flag. I want to be able to get a list of only test case names consumable by -f or passable as a command line argument as in xargs.
Parallel reads lines from stdin and executes the catch program ($exe) with the given lines. When it hits the blank line it tries to run all tests again.
The text was updated successfully, but these errors were encountered:
I can confirm it is fixed when I build and link against the static library.
It doesn't seem to be fixed if I used the amalgamated cpp file but I can
live with that. Thanks.
Yeah, the checked-in amalgamated file should behave just like single header used to, that is, it is only updated upon release. You can update it with tools/scripts/generateAmalgamatedFiles.py.
In catch2 v2 we have --list-test-names-only which prints the test names matching a filter.
According to the notes for v3
--list-test-names-only has been removed (#1190)
You should use verbosity-modifiers for --list-tests instead
However -l --verbosity quiet does not produce the same output. It also includes before the first test case:
All available test cases:
And after the last test case:
x test cases
I would like -l --verbosity quiet to only print the test names. That is reproduce the behaviour of --list-test-names-only.
The motivation for this is similar to the comment on the issue relating to the removal of the flag. I want to be able to get a list of only test case names consumable by -f or passable as a command line argument as in xargs.
#1190 (comment)
Please note that the blank line is also problematic. To be specific I have a script for running tests in parallel and it does:
parallel --bar --halt now,fail=1 -j 20
Parallel reads lines from stdin and executes the catch program ($exe) with the given lines. When it hits the blank line it tries to run all tests again.
The text was updated successfully, but these errors were encountered: