diff options
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 2a2fb4c..b6e349d 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -6486,6 +6486,13 @@ class LinuxlikeTests(BasePlatformTests): self.assertEqual(libhello_nolib.get_pkgconfig_variable('foo', {}), 'bar') self.assertEqual(libhello_nolib.get_pkgconfig_variable('prefix', {}), self.prefix) + cc = env.detect_c_compiler(MachineChoice.HOST) + if cc.get_id() in {'gcc', 'clang'}: + for name in {'ct', 'ct0'}: + ct_dep = PkgConfigDependency(name, env, kwargs) + self.assertTrue(ct_dep.found()) + self.assertIn('-lct', ct_dep.get_link_args()) + def test_pkgconfig_gen_deps(self): ''' Test that generated pkg-config files correctly handle dependencies |