Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
keisukefukuda committed Mar 5, 2019
1 parent bf86033 commit c89eb71
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,18 @@ test_mpi4py_clear_pypath() {

mpienv use ${MPICH}
assertNull "PYTHONPATH must be NULL" "${PYTHONPATH:-}"

mpienv use --mpi4py ${MPICH}
echo "$PYTHONPATH" | grep ${MPICH}
assertEquals "PYTHONPATH must contain ${MPICH}" 0 $?

mpienv rename "${MPICH}" mpix
mpienv use mpix
assertNull "PYTHONPATH must be NULL" "${PYTHONPATH:-}"

mpienv use --mpi4py mpix
echo "$PYTHONPATH" | grep mpix
assertEquals "PYTHONPATH must contain mpix" 0 $?
}

test_mpi4py() {
Expand Down

0 comments on commit c89eb71

Please sign in to comment.