unit tests: Skip if pkg-config is not found

Of course, this does not skip on the CI, but helps on Windows.
pull/6637/head
Nirbheek Chauhan 5 years ago
parent 5dcbf10a1b
commit 26615ac422
  1. 1
      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

Loading…
Cancel
Save