diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-10-07 23:02:57 +0000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-10-08 22:03:25 +0300 |
commit | 217036f2d9d7f90b47e6d9cad43f3144882a3b91 (patch) | |
tree | 41192c943b18bce40ddf3d1237c93432f25015be | |
parent | f060a417bc5d4de077d273b69b03d39c2b82a958 (diff) | |
download | meson-217036f2d9d7f90b47e6d9cad43f3144882a3b91.zip meson-217036f2d9d7f90b47e6d9cad43f3144882a3b91.tar.gz meson-217036f2d9d7f90b47e6d9cad43f3144882a3b91.tar.bz2 |
Skip more tests if pkg-config is missing
meson.build:13:2: ERROR: Pkg-config binary for machine MachineChoice.HOST not found. Giving up.
-rwxr-xr-x | run_unittests.py | 2 |
1 files changed, 2 insertions, 0 deletions
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.") |