aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/ctest-driver.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 17:32:05 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 17:32:05 +0300
commit795dd9e87e44d1c49f160cd003cdde4113ee8247 (patch)
tree8235133e9007abdb53ed7380f201058c24269031 /docs/ctest-driver.md
parentREADME: fix badge links (diff)
downloadcmake-common-795dd9e87e44d1c49f160cd003cdde4113ee8247.tar.gz
cmake-common-795dd9e87e44d1c49f160cd003cdde4113ee8247.zip
tools: drop the .py extension
Diffstat (limited to 'docs/ctest-driver.md')
-rw-r--r--docs/ctest-driver.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ctest-driver.md b/docs/ctest-driver.md
index af7c3b2..1a70f5d 100644
--- a/docs/ctest-driver.md
+++ b/docs/ctest-driver.md
@@ -4,10 +4,10 @@ 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.
+`ctest-driver` tries to fix them.
- $ python3 path/to/tools/ctest-driver.py run --pass-regex OK --fail-regex Fail -- path/to/executable arg1 arg2
+ $ python3 path/to/tools/ctest-driver run --pass-regex OK --fail-regex Fail -- path/to/executable arg1 arg2
In addition, it's a cross-platform `grep`:
- $ python3 path/to/tools/ctest-driver.py grep --pass-regex OK --fail-regex Fail -- path/to/logfile.log
+ $ python3 path/to/tools/ctest-driver grep --pass-regex OK --fail-regex Fail -- path/to/logfile.log