diff options
| author | Daniel Feist | 2022-04-23 23:14:49 +0200 |
|---|---|---|
| committer | GitHub | 2022-04-23 23:14:49 +0200 |
| commit | 291b35b389b8e6d7b560cf7e43b6c72c4b73e522 (patch) | |
| tree | d2dc107dbe6d2d5965ce63941b7d4a2fe123bd07 /src/catch2/internal | |
| parent | f526ff0fc37ae00ff2c0dc8f6550bf8209c30afc (diff) | |
| download | catch3-291b35b389b8e6d7b560cf7e43b6c72c4b73e522.tar.gz | |
Added --skip-benchmarks command-line option. (#2408)
Closes #2392
Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
Diffstat (limited to 'src/catch2/internal')
| -rw-r--r-- | src/catch2/internal/catch_commandline.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/catch2/internal/catch_commandline.cpp b/src/catch2/internal/catch_commandline.cpp index 59b06de9..f2f638bc 100644 --- a/src/catch2/internal/catch_commandline.cpp +++ b/src/catch2/internal/catch_commandline.cpp @@ -296,6 +296,9 @@ namespace Catch { | Opt( setWaitForKeypress, "never|start|exit|both" ) ["--wait-for-keypress"] ( "waits for a keypress before exiting" ) + | Opt( config.skipBenchmarks) + ["--skip-benchmarks"] + ( "disable running benchmarks") | Opt( config.benchmarkSamples, "samples" ) ["--benchmark-samples"] ( "number of samples to collect (default: 100)" ) |