diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-02-16 18:56:01 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-02-16 18:56:01 +0200 |
commit | 04587bfaf1b3e098e2725d42ad1df15ffa79ea42 (patch) | |
tree | 4d3ebbb1fc689e954b527e65076e0908c9e5e329 /run_unittests.py | |
parent | 3ed30cea6ed754fa9f519f15d8e322b8fcc2126b (diff) | |
download | meson-regrfix.zip meson-regrfix.tar.gz meson-regrfix.tar.bz2 |
Non-working fix and test. Closes #8361.regrfix
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 8083342..b43bd99 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -5476,6 +5476,14 @@ class AllPlatformTests(BasePlatformTests): projinfo = self.introspect('--projectinfo') self.assertEqual(projinfo['version'], '1.0.0') + def test_cflags_cppflags(self): + envs = {'CPPFLAGS': '-DCPPFLAG', + 'CFLAGS': '-DCFLAG', + 'CXXFLAGS': '-DCXXFLAG'} + srcdir = os.path.join(self.unit_test_dir, '90 multiple envvars') + self.init(srcdir, override_envvars=envs) + self.build() + class FailureTests(BasePlatformTests): ''' |