diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-02-16 21:53:57 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-02-22 06:49:34 +0530 |
commit | 26615ac422e0591e23624d124488fb82cc472875 (patch) | |
tree | 99e89eedb86f6d7a42f933e7fb1a77c4e970e13c | |
parent | 5dcbf10a1bdc6980622be90d52322a7d287070dc (diff) | |
download | meson-26615ac422e0591e23624d124488fb82cc472875.zip meson-26615ac422e0591e23624d124488fb82cc472875.tar.gz meson-26615ac422e0591e23624d124488fb82cc472875.tar.bz2 |
unit tests: Skip if pkg-config is not found
Of course, this does not skip on the CI, but helps on Windows.
-rwxr-xr-x | run_unittests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 7c2ae05..f26ab7e 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 |