aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-10-15 09:56:08 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-10-16 18:09:56 +0300
commitbcf369ea3c6ac9d48759a9a11304a853dfdab5ff (patch)
tree3e5080da666144231c1c36ceaeb62fb3727df07a /run_unittests.py
parent2e80c521295f45105229e5c7bffa3ebfd60b3445 (diff)
downloadmeson-bcf369ea3c6ac9d48759a9a11304a853dfdab5ff.zip
meson-bcf369ea3c6ac9d48759a9a11304a853dfdab5ff.tar.gz
meson-bcf369ea3c6ac9d48759a9a11304a853dfdab5ff.tar.bz2
Fix consistency in variables kwarg
Share common code to extract the `variables` kwarg in declare_dependency() and pkg.generate().
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 708dcb7..539ecd3 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -6040,6 +6040,7 @@ class LinuxlikeTests(BasePlatformTests):
self.assertTrue(libhello_nolib.found())
self.assertEqual(libhello_nolib.get_link_args(), [])
self.assertEqual(libhello_nolib.get_compile_args(), [])
+ self.assertEqual(libhello_nolib.get_pkgconfig_variable('foo', {}), 'bar')
def test_pkgconfig_gen_deps(self):
'''