From 217036f2d9d7f90b47e6d9cad43f3144882a3b91 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 7 Oct 2019 23:02:57 +0000 Subject: Skip more tests if pkg-config is missing meson.build:13:2: ERROR: Pkg-config binary for machine MachineChoice.HOST not found. Giving up. --- run_unittests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run_unittests.py b/run_unittests.py index bfd7a54..9f8f576 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -5643,6 +5643,7 @@ class LinuxlikeTests(BasePlatformTests): # Assert that self.assertEqual(len(line.split(lib)), 2, msg=(lib, line)) + @skipIfNoPkgconfig def test_noncross_options(self): # C_std defined in project options must be in effect also when native compiling. testdir = os.path.join(self.unit_test_dir, '51 noncross options') @@ -5665,6 +5666,7 @@ c = ['{0}'] # TODO should someday be explicit about build platform only here self.init(testdir, override_envvars=env) + @skipIfNoPkgconfig def test_static_link(self): if is_cygwin(): raise unittest.SkipTest("Cygwin doesn't support LD_LIBRARY_PATH.") -- cgit v1.1