Skip to content

Commit

Permalink
tests: only skip MPI test on Ubuntu if we are in a CI container
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eli-schwartz committed Sep 20, 2024
1 parent 5e6122b commit d3f2821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test cases/frameworks/17 mpi/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3f2821

Please sign in to comment.