aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-08-15 11:49:50 -0700
committerEli Schwartz <eschwartz93@gmail.com>2022-08-17 16:25:36 -0400
commit369c2660d017ba662b14c443170ff35678b283fd (patch)
tree17e87422bb25ac6828d8d472513c7b19184e683a /run_project_tests.py
parent2fe07adc0eee3920f825b536bf053ab3788cdaef (diff)
downloadmeson-369c2660d017ba662b14c443170ff35678b283fd.zip
meson-369c2660d017ba662b14c443170ff35678b283fd.tar.gz
meson-369c2660d017ba662b14c443170ff35678b283fd.tar.bz2
run_project_tests: also change paths for DEPRECATION messages
Not just WARNING and ERROR
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index f125a80..51a8f1f 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -471,7 +471,7 @@ def _compare_output(expected: T.List[T.Dict[str, str]], output: str, desc: str)
sub = r'\\'
else:
sub = r'\\\\'
- expected_line = re.sub(r'/(?=.*(WARNING|ERROR))', sub, expected_line)
+ expected_line = re.sub(r'/(?=.*(WARNING|ERROR|DEPRECATION))', sub, expected_line)
m = OutputMatch(how, expected_line, count)
if count == 0: