aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-04-11 19:51:23 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-05-22 02:36:55 +0530
commita00433fdbc382eeb53529685f5552c29d323bef3 (patch)
tree40038cde1538b9c6e06b71bedb2322f719c81c9b /run_unittests.py
parentb3f74b9c3af08061de31c3177da6231289c08e84 (diff)
downloadmeson-a00433fdbc382eeb53529685f5552c29d323bef3.zip
meson-a00433fdbc382eeb53529685f5552c29d323bef3.tar.gz
meson-a00433fdbc382eeb53529685f5552c29d323bef3.tar.bz2
configure_file: Add a new action 'copy'
This will copy the file to the build directory without trying to read it or substitute values into it. Also do this optimization if the configuration_data() object passed to the `configuration:` kwarg is empty, and print a warning about it. See also: https://github.com/mesonbuild/meson/issues/1542
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 3608d3e..28d96a3 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -1827,7 +1827,7 @@ int main(int argc, char **argv) {
r'meson.build:6: WARNING: a warning of some sort',
r'sub' + os.path.sep + r'meson.build:4: WARNING: subdir warning',
r'meson.build:7: WARNING: Module unstable-simd has no backwards or forwards compatibility and might not exist in future releases.',
- r"meson.build:10: WARNING: The variable(s) 'MISSING' in the input file conf.in are not present in the given configuration data.",
+ r"meson.build:11: WARNING: The variable(s) 'MISSING' in the input file conf.in are not present in the given configuration data.",
r'meson.build:1: WARNING: Passed invalid keyword argument "invalid".',
]:
self.assertRegex(out, re.escape(expected))