Skip to content

Commit

Permalink
test: supply empty mtest_mpix.h
Browse files Browse the repository at this point in the history
When testsuite autogen is run outside mpich, supply an empty
mtest_mpix.h so the testing can proceed. The header files is for mpich
specific extension and will fail with non-mpich implementation anyway.
The empty stub will allow strict testing to proceed.

The regular mpich testing is not affected since mpich's top level
autogen will always supply this file.
  • Loading branch information
hzhou committed Feb 9, 2022
1 parent bd5683e commit cae3cc7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/mpi/autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ check_copy version.m4 ../../maint/version.m4
check_copy confdb ../../confdb
check_copy dtpools/confdb ../../confdb

# mtest_mpix.h is generated by mpich autogen, specifically, gen_binding_c.py.
# It provides macros that replace upcoming MPI functions with MPIX prefix.
# The tests using these new functions should not be included with
# --enable-strictmpi, an option should be given when testing general MPI
# implementations.
#
# Here we supply an empty stub when this is run outside mpich.
#
if test ! -e include/mtest_mpix.h ; then
touch include/mtest_mpix.h
fi

echo "Running autoreconf in dtpools"
(cd dtpools && autoreconf -ivf)

Expand Down

0 comments on commit cae3cc7

Please sign in to comment.