test-suite: include mpi family in module tests for mfem
@@ -17,7 +17,7 @@ rpm=mfem-$LMOD_FAMILY_COMPILER-$LMOD_FAMILY_MPI${DELIM}
check_rms
-@test "[$testname] Verify $PKG module is loaded and matches rpm version ($LMOD_FAMILY_COMPILER)" {
+@test "[$testname] Verify $PKG module is loaded and matches rpm version ($LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
module list $module | grep "1) $module" >& .cmd_output || exit 1
run grep $module .cmd_output
assert_success
@@ -30,7 +30,7 @@ check_rms
rm -f .cmd_output
}
-@test "[$testname] Verify module ${PKG}_DIR is defined and exists ($LMOD_FAMILY_COMPILER)" {
+@test "[$testname] Verify module ${PKG}_DIR is defined and exists ($LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
DIR=${PKG}_DIR
if [ -z ${!DIR} ];then
flunk "${PKG}_DIR directory not defined"
@@ -41,7 +41,7 @@ check_rms
fi
}
-@test "[$testname] Verify module ${PKG}_BIN is defined and exists" {
+@test "[$testname] Verify module ${PKG}_BIN is defined and exists ($LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
BIN=${PKG}_BIN
if [ -z ${!BIN} ];then
flunk "${PKG}_BIN directory not defined"
@@ -57,7 +57,7 @@ check_rms
# Lib Tests
# ----------
-@test "[$testname] Verify module ${PKG}_LIB is defined and exists ($LMOD_FAMILY_COMPILER)" {
+@test "[$testname] Verify module ${PKG}_LIB is defined and exists ($LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
LIB=${PKG}_LIB
if [ -z ${!LIB} ];then
@@ -69,7 +69,7 @@ check_rms
fi
}
-@test "[$testname] Verify (dynamic) library available in ${PKG}_LIB ($LMOD_FAMILY_COMPILER)" {
+@test "[$testname] Verify (dynamic) library available in ${PKG}_LIB ($LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
LIB=${PKG}_LIB
if [ -z ${!LIB} ];then
@@ -85,7 +85,7 @@ check_rms
# Include Tests
# --------------
-@test "[$testname] Verify module ${PKG}_INC is defined and exists ($LMOD_FAMILY_COMPILER)" {
+@test "[$testname] Verify module ${PKG}_INC is defined and exists ($LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
INC=${PKG}_INC
if [ -z ${!INC} ];then
@@ -97,7 +97,7 @@ check_rms
fi
}
-@test "[$testname] Verify header file is present in ${PKG}_INC ($LMOD_FAMILY_COMPILER)" {
+@test "[$testname] Verify header file is present in ${PKG}_INC ($LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
INC=${PKG}_INC
if [ -z ${!INC} ];then
