aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-06 21:08:28 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-06 21:08:28 +0300
commit1ef15ea149eee63e6c208bdc6ccbd4ef0c243ecd (patch)
tree048a9b8b4abeedb80b941d5fbca30f93f13d7751
parentctest-driver.py: handle additional '--'s (diff)
downloadcmake-common-1ef15ea149eee63e6c208bdc6ccbd4ef0c243ecd.tar.gz
cmake-common-1ef15ea149eee63e6c208bdc6ccbd4ef0c243ecd.zip
ctest-driver.py: MULTILINE regex matching
-rwxr-xr-xtools/ctest-driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ctest-driver.py b/tools/ctest-driver.py
index eaab3b8..a3fa3e3 100755
--- a/tools/ctest-driver.py
+++ b/tools/ctest-driver.py
@@ -50,7 +50,7 @@ def match_any(s, regexes):
if not regexes:
return True
for regex in regexes:
- if re.search(regex, s):
+ if re.search(regex, s, flags=re.MULTILINE):
return True
return False