aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Behle <behlec@gmail.com>2018-07-09 17:05:57 +0200
committerChristoph Behle <behlec@gmail.com>2018-07-09 17:05:57 +0200
commit0f15d7982cf0bbed9bb6845d4d4784a5754594ed (patch)
tree285f7ba33df4633b52c9b5adc6dbf7dc7c230de6
parent430506f814847044b0e3f6e2084dfa1cfc5ec614 (diff)
downloadmeson-0f15d7982cf0bbed9bb6845d4d4784a5754594ed.zip
meson-0f15d7982cf0bbed9bb6845d4d4784a5754594ed.tar.gz
meson-0f15d7982cf0bbed9bb6845d4d4784a5754594ed.tar.bz2
Fix regexp for warning
-rwxr-xr-xrun_unittests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 9a71937..52e7780 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -2294,8 +2294,8 @@ recommended as it is not supported on some platforms''')
self.assertRegex(out, "WARNING:.*'empty'.*config.h.in.*not present.*")
self.assertRegex(out, "WARNING:.*empty configuration_data.*test.py.in")
# Warnings for configuration files that are overwritten.
- self.assertRegex(out, "WARNING:.*double_output.txt.*overwrites")
- self.assertRegex(out, "WARNING:.*subdir/double_output2.txt.*overwrites")
+ self.assertRegex(out, "WARNING:.*\"double_output.txt\".*overwrites")
+ self.assertRegex(out, "WARNING:.*\"subdir.double_output2.txt\".*overwrites")
self.assertNotRegex(out, "WARNING:.*no_write_conflict.txt.*overwrites")
# No warnings about empty configuration data objects passed to files with substitutions
self.assertNotRegex(out, "WARNING:.*empty configuration_data.*nosubst-nocopy1.txt.in")