aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-11-05 00:17:18 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-11-10 00:40:16 +0530
commitf09508dde7274ca683bb59e4ec2354a90be421c1 (patch)
tree2b38317c16786abc12f4ae8608c73c6b5599ac27 /test cases
parent00dc929b62e8ca0c4c9dcc02ad813f2ec55e85e8 (diff)
downloadmeson-f09508dde7274ca683bb59e4ec2354a90be421c1.zip
meson-f09508dde7274ca683bb59e4ec2354a90be421c1.tar.gz
meson-f09508dde7274ca683bb59e4ec2354a90be421c1.tar.bz2
51 pkgconfig-gen: Disable validation on Windows
The pkg-config version shipped with MinGW is too old, and the test is sufficiently covered on Linux, so just skip it on Windows. We anyway do not run the other pkg-config tests on Windows.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/51 pkgconfig-gen/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/51 pkgconfig-gen/meson.build b/test cases/common/51 pkgconfig-gen/meson.build
index fa9439c..0933238 100644
--- a/test cases/common/51 pkgconfig-gen/meson.build
+++ b/test cases/common/51 pkgconfig-gen/meson.build
@@ -19,7 +19,7 @@ pkgg.generate(
)
pkgconfig = find_program('pkg-config', required: false)
-if pkgconfig.found()
+if pkgconfig.found() and build_machine.system() != 'windows'
test('pkgconfig-validation', pkgconfig,
args: ['--validate', 'simple'],
env: ['PKG_CONFIG_PATH=' + meson.current_build_dir() + '/meson-private' ],