tests: only skip MPI test on Ubuntu if we are in a CI container

It is genuinely horribly buggy so we don't want the testsuite to
succeed. We make a special exception for the CI runner since it is a
known breakage but people packaging meson should see the issue.
pull/13694/head
Eli Schwartz 2 months ago
parent 5e6122b2a5
commit d3f28217c5
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      test cases/frameworks/17 mpi/meson.build

@ -35,7 +35,7 @@ if add_languages('fortran', required : false)
if method in ['auto', 'pkg-config']
# https://bugs.debian.org/1078026
fs = import('fs')
if fs.exists('/usr/lib/x86_64-linux-gnu/pkgconfig/ompi-fort.pc')
if fs.is_dir('/ci') and fs.exists('/usr/lib/x86_64-linux-gnu/pkgconfig/ompi-fort.pc')
if fs.hash('/usr/lib/x86_64-linux-gnu/pkgconfig/ompi-fort.pc', 'md5') == '0892a93630e3d3359c43c58d5a82efc0'
error('MESON_SKIP_TEST: openmpi pkgconfig file is broken on Debian/Ubuntu')
endif

Loading…
Cancel
Save