summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-02-16 21:53:57 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-02-22 06:49:34 +0530
commit26615ac422e0591e23624d124488fb82cc472875 (patch)
tree99e89eedb86f6d7a42f933e7fb1a77c4e970e13c
parent5dcbf10a1bdc6980622be90d52322a7d287070dc (diff)
downloadmeson-26615ac422e0591e23624d124488fb82cc472875.tar.gz
unit tests: Skip if pkg-config is not found
Of course, this does not skip on the CI, but helps on Windows.
-rwxr-xr-xrun_unittests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 7c2ae0555..f26ab7e18 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -809,6 +809,7 @@ class InternalTests(unittest.TestCase):
env.machines.host.system = 'windows'
self._test_all_naming(cc, env, patterns, 'windows-mingw')
+ @skipIfNoPkgconfig
def test_pkgconfig_parse_libs(self):
'''
Unit test for parsing of pkg-config output to search for libraries