From bcf369ea3c6ac9d48759a9a11304a853dfdab5ff Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 15 Oct 2020 09:56:08 -0400 Subject: Fix consistency in variables kwarg Share common code to extract the `variables` kwarg in declare_dependency() and pkg.generate(). --- run_unittests.py | 1 + 1 file changed, 1 insertion(+) (limited to 'run_unittests.py') diff --git a/run_unittests.py b/run_unittests.py index 708dcb70a..539ecd31b 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): ''' -- cgit v1.2.3