2016-01-20 15:17:00 +01:00
|
|
|
Display the help message
|
|
|
|
|
|
|
|
$ simple.c.bin --help
|
2016-09-19 00:21:17 +02:00
|
|
|
Tests compiled with Criterion v2.3.0-rc1
|
2016-01-20 15:17:00 +01:00
|
|
|
|
|
|
|
usage: .*simple\.c\.bin(\.exe)? OPTIONS (re)
|
|
|
|
options:
|
|
|
|
-h or --help: prints this message
|
|
|
|
-q or --quiet: disables all logging
|
|
|
|
-v or --version: prints the version of criterion these tests have been linked against
|
|
|
|
-l or --list: prints all the tests in a list
|
|
|
|
-jN or --jobs N: use N concurrent jobs
|
|
|
|
-f or --fail-fast: exit after the first failure
|
|
|
|
--ascii: don't use fancy unicode symbols or colors in the output
|
|
|
|
-S or --short-filename: only display the base name of the source file on a failure
|
2016-09-01 02:39:39 +02:00
|
|
|
--filter [PATTERN]: run tests matching the given pattern
|
2016-09-04 21:55:19 +02:00
|
|
|
--timeout [TIMEOUT]: set a timeout (in seconds) for all tests
|
2016-01-20 15:17:00 +01:00
|
|
|
--tap[=FILE]: writes TAP report in FILE (no file or "-" means stderr)
|
|
|
|
--xml[=FILE]: writes XML report in FILE (no file or "-" means stderr)
|
|
|
|
--always-succeed: always exit with 0
|
|
|
|
--verbose[=level]: sets verbosity to level (1 by default)
|
2016-08-22 10:17:55 +02:00
|
|
|
--crash: crash failing assertions rather than aborting (for debugging purposes)
|
2016-09-01 02:39:39 +02:00
|
|
|
--debug[=TYPE]: run tests with a debugging server, listening on localhost:1234 by default. TYPE may be gdb, lldb, or wingbd.
|
|
|
|
--debug-transport=VAL: the transport to use by the debugging server. `tcp:1234` by default
|
2016-01-20 15:17:00 +01:00
|
|
|
-OP:F or --output=PROVIDER=FILE: write test report to FILE using the specified provider
|
|
|
|
|
|
|
|
$ simple.cc.bin --help
|
2016-09-19 00:21:17 +02:00
|
|
|
Tests compiled with Criterion v2.3.0-rc1
|
2016-01-20 15:17:00 +01:00
|
|
|
|
|
|
|
usage: .*simple\.cc\.bin(\.exe)? OPTIONS (re)
|
|
|
|
options:
|
|
|
|
-h or --help: prints this message
|
|
|
|
-q or --quiet: disables all logging
|
|
|
|
-v or --version: prints the version of criterion these tests have been linked against
|
|
|
|
-l or --list: prints all the tests in a list
|
|
|
|
-jN or --jobs N: use N concurrent jobs
|
|
|
|
-f or --fail-fast: exit after the first failure
|
|
|
|
--ascii: don't use fancy unicode symbols or colors in the output
|
|
|
|
-S or --short-filename: only display the base name of the source file on a failure
|
2016-09-01 02:39:39 +02:00
|
|
|
--filter [PATTERN]: run tests matching the given pattern
|
2016-09-04 21:55:19 +02:00
|
|
|
--timeout [TIMEOUT]: set a timeout (in seconds) for all tests
|
2016-01-20 15:17:00 +01:00
|
|
|
--tap[=FILE]: writes TAP report in FILE (no file or "-" means stderr)
|
|
|
|
--xml[=FILE]: writes XML report in FILE (no file or "-" means stderr)
|
|
|
|
--always-succeed: always exit with 0
|
|
|
|
--verbose[=level]: sets verbosity to level (1 by default)
|
2016-08-22 10:17:55 +02:00
|
|
|
--crash: crash failing assertions rather than aborting (for debugging purposes)
|
2016-09-01 02:39:39 +02:00
|
|
|
--debug[=TYPE]: run tests with a debugging server, listening on localhost:1234 by default. TYPE may be gdb, lldb, or wingbd.
|
|
|
|
--debug-transport=VAL: the transport to use by the debugging server. `tcp:1234` by default
|
2016-01-20 15:17:00 +01:00
|
|
|
-OP:F or --output=PROVIDER=FILE: write test report to FILE using the specified provider
|
|
|
|
|
|
|
|
|
2016-09-24 14:08:15 +02:00
|
|
|
Display usage on invalid CLI flags
|
|
|
|
|
|
|
|
$ simple.c.bin --an-invalid-option
|
2016-09-24 20:32:12 +02:00
|
|
|
simple.c.bin: unrecognized option [`'"]--an-invalid-option['"] (re)
|
2016-09-24 14:08:15 +02:00
|
|
|
Tests compiled with Criterion v2.3.0-rc1
|
|
|
|
|
|
|
|
usage: simple.c.bin OPTIONS
|
|
|
|
options:
|
|
|
|
-h or --help: prints this message
|
|
|
|
-q or --quiet: disables all logging
|
|
|
|
-v or --version: prints the version of criterion these tests have been linked against
|
|
|
|
-l or --list: prints all the tests in a list
|
|
|
|
-jN or --jobs N: use N concurrent jobs
|
|
|
|
-f or --fail-fast: exit after the first failure
|
|
|
|
--ascii: don't use fancy unicode symbols or colors in the output
|
|
|
|
-S or --short-filename: only display the base name of the source file on a failure
|
|
|
|
--filter [PATTERN]: run tests matching the given pattern
|
|
|
|
--timeout [TIMEOUT]: set a timeout (in seconds) for all tests
|
|
|
|
--tap[=FILE]: writes TAP report in FILE (no file or "-" means stderr)
|
|
|
|
--xml[=FILE]: writes XML report in FILE (no file or "-" means stderr)
|
|
|
|
--always-succeed: always exit with 0
|
|
|
|
--verbose[=level]: sets verbosity to level (1 by default)
|
|
|
|
--crash: crash failing assertions rather than aborting (for debugging purposes)
|
|
|
|
--debug[=TYPE]: run tests with a debugging server, listening on localhost:1234 by default. TYPE may be gdb, lldb, or wingbd.
|
|
|
|
--debug-transport=VAL: the transport to use by the debugging server. `tcp:1234` by default
|
|
|
|
-OP:F or --output=PROVIDER=FILE: write test report to FILE using the specified provider
|