diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-03-24 12:09:54 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-04-30 10:38:55 -0700 |
commit | fdd60225301731d5b696479eb091c01a2ea121e0 (patch) | |
tree | babae95f81505683ab0ef3af2cd4359ad72fa52e /run_unittests.py | |
parent | d8a3c777a62b18d33bbdbca0fd4954399e1ebc04 (diff) | |
download | meson-fdd60225301731d5b696479eb091c01a2ea121e0.zip meson-fdd60225301731d5b696479eb091c01a2ea121e0.tar.gz meson-fdd60225301731d5b696479eb091c01a2ea121e0.tar.bz2 |
interpreter: Add link_language to all build targets
If the feature hadn't been broken in the first place it would have
worked on them anyway, so we might as well expose it. I'm loathe to do
it because one of the best features of meson in a mixed C/C++ code base
is that meson figures out the right linker every time, but there are
cases people have where they want to force a linker. We'll let them keep
the pieces.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py index 35f5f9c..c77c9c0 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -4647,7 +4647,7 @@ recommended as it is not supported on some platforms''') if self.backend is not Backend.ninja: raise unittest.SkipTest('This test reads the ninja file') - testdir = os.path.join(self.common_test_dir, '230 link language') + testdir = os.path.join(self.common_test_dir, '232 link language') self.init(testdir) build_ninja = os.path.join(self.builddir, 'build.ninja') @@ -4655,6 +4655,7 @@ recommended as it is not supported on some platforms''') contents = f.read() self.assertRegex(contents, r'build main(\.exe)?.*: c_LINKER') + self.assertRegex(contents, r'build (lib|cyg)?mylib.*: c_LINKER') class FailureTests(BasePlatformTests): |