diff options
| author | Egor Tensin <egor@tensin.name> | 2026-10-05 14:33:27 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-10-05 14:33:27 +0500 |
| commit | 0e26a35cd2d4f097f24cfbb4edb10cfcdcfa2098 (patch) | |
| tree | b3944cd8af49bb4d414dbec4a282f804ce6d7422 /docs/ctest-driver.md | |
| parent | project.ctest_driver: verbose logging (diff) | |
| download | cmake-common-0e26a35cd2d4f097f24cfbb4edb10cfcdcfa2098.tar.gz cmake-common-0e26a35cd2d4f097f24cfbb4edb10cfcdcfa2098.zip | |
update README & docs
Diffstat (limited to 'docs/ctest-driver.md')
| -rw-r--r-- | docs/ctest-driver.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/ctest-driver.md b/docs/ctest-driver.md index e196a36..3f3f2a5 100644 --- a/docs/ctest-driver.md +++ b/docs/ctest-driver.md @@ -4,10 +4,11 @@ PASS_REGULAR_EXPRESSION feature: 1. The regular expression syntax used by CMake is deficient. 2. The exit code of a test is ignored if one of the regexes matches. -`ctest-driver.py` tries to fix them. +`project-ctest-driver` (alternatively, `python -m project.ctest_driver`) tries +to fix them. - $ python path/to/tools/ctest-driver.py run --pass-regex OK --fail-regex Fail -- path/to/executable arg1 arg2 + $ project-ctest-driver run --pass-regex OK --fail-regex Fail -- path/to/executable arg1 arg2 In addition, it's a cross-platform `grep`: - $ python path/to/tools/ctest-driver.py grep --pass-regex OK --fail-regex Fail -- path/to/logfile.log + $ project-ctest-driver grep --pass-regex OK --fail-regex Fail -- path/to/logfile.log |
