diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2021-09-26 22:59:05 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-09-27 01:34:08 -0400 |
| commit | 5fa0fd3b473f792bd7333cf6ae6e2f4c851b6108 (patch) | |
| tree | 97876fd8d41d25d85c123192ce7c68c5cc3e471e | |
| parent | 941b8a6dbcd538e3313fad1be45290b59f92df91 (diff) | |
| download | meson-5fa0fd3b473f792bd7333cf6ae6e2f4c851b6108.tar.gz | |
fix test case instances where undefined message(true) occurred
| -rw-r--r-- | test cases/unit/48 reconfigure/subprojects/sub1/meson.build | 2 | ||||
| -rw-r--r-- | unittests/allplatformstests.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test cases/unit/48 reconfigure/subprojects/sub1/meson.build b/test cases/unit/48 reconfigure/subprojects/sub1/meson.build index 4f3d2fc4e..30fd19d1d 100644 --- a/test cases/unit/48 reconfigure/subprojects/sub1/meson.build +++ b/test cases/unit/48 reconfigure/subprojects/sub1/meson.build @@ -1,3 +1,3 @@ project('sub1') -message('sub1:werror', get_option('werror')) +message('sub1:werror @0@'.format(get_option('werror'))) diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py index 93a2e49b9..7edb96e62 100644 --- a/unittests/allplatformstests.py +++ b/unittests/allplatformstests.py @@ -2378,7 +2378,7 @@ class AllPlatformTests(BasePlatformTests): self.assertRegex(out, 'opt2 val2') self.assertRegex(out, 'opt3 val3') self.assertRegex(out, 'opt4 default4') - self.assertRegex(out, 'sub1:werror True') + self.assertRegex(out, 'sub1:werror true') self.build() self.run_tests() @@ -2392,7 +2392,7 @@ class AllPlatformTests(BasePlatformTests): self.assertRegex(out, 'opt2 val2') self.assertRegex(out, 'opt3 val3') self.assertRegex(out, 'opt4 val4') - self.assertRegex(out, 'sub1:werror True') + self.assertRegex(out, 'sub1:werror true') self.assertTrue(Path(self.builddir, '.gitignore').exists()) self.build() self.run_tests() |
