diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-12-31 17:33:50 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-01-01 13:21:01 +0000 |
commit | bcc95d7dd703779228ec81b92197e010d0e5a1ea (patch) | |
tree | 9454e80529e60129ec79604046987bd214c4c3c8 /run_unittests.py | |
parent | f85fde743a292e24c9aed81c23f6af466054aee3 (diff) | |
download | meson-bcc95d7dd703779228ec81b92197e010d0e5a1ea.zip meson-bcc95d7dd703779228ec81b92197e010d0e5a1ea.tar.gz meson-bcc95d7dd703779228ec81b92197e010d0e5a1ea.tar.bz2 |
Use location formatting in mlog.warning() for invalid kwarg warning
This already reports the location (in a slightly different format), but
using mlog.warning() will make it easier if we want to change the location
format in future.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 11f16a2..c634b8b 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -1717,6 +1717,7 @@ int main(int argc, char **argv) { r'WARNING: subdir warning in file sub' + os.path.sep + r'meson.build, line 4', r'WARNING: Module unstable-simd has no backwards or forwards compatibility and might not exist in future releases in file meson.build, line 7', r"WARNING: The variable(s) 'MISSING' in the input file conf.in are not present in the given configuration data in file meson.build, line 10", + r'WARNING: Passed invalid keyword argument "invalid" in file meson.build, line 1' ]: self.assertRegex(out, re.escape(expected)) |