Skip to content

Commit 41b3281

Browse files
committed
Respect --without-openmpi in 00-setup.sh.in
Follow up to #115 to only modify `PATH` for MPI tests if the (now optional) OpenMPI is configured
1 parent 4bfccfc commit 41b3281

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

t/sharness.d/00-setup.sh.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
PATH=@OMPI_PREFIX@/bin:$PATH
1+
if [ -n "@OMPI_PREFIX@" ]; then
2+
PATH=@OMPI_PREFIX@/bin:$PATH
3+
fi
24
PATH=@FLUX_PREFIX@/bin:$PATH

0 commit comments

Comments
 (0)