aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 8cc9811..17ae45e 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -4577,6 +4577,10 @@ class LinuxlikeTests(BasePlatformTests):
else:
self.assertEqual(sorted(out), sorted(['libexposed', 'libfoo>=1.0', 'libhello']))
+ cmd = ['pkg-config', 'pub-lib-order']
+ out = self._run(cmd + ['--libs'], override_envvars=env).strip().split()
+ self.assertEqual(out, ['-llibmain2', '-llibinternal'])
+
def test_pkg_unfound(self):
testdir = os.path.join(self.unit_test_dir, '23 unfound pkgconfig')
self.init(testdir)