Skip to content

Commit

Permalink
fixed run_test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 26, 2019
1 parent f7921f8 commit 00212e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/general/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ for TEST in $PIO_TESTS
do
success1=false
echo "running ${TEST}"
(mpiexec -n 4 ./${TEST} && success1=true) || break
mpiexec -n 4 ./${TEST} && success1=true
if test $success1 = false; then
break
fi
done

# Did we succeed?
Expand Down
5 changes: 4 additions & 1 deletion tests/unit/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ for TEST in $PIO_TESTS
do
success1=false
echo "running ${TEST}"
(mpiexec -n 4 ./${TEST} && success1=true) || break
mpiexec -n 4 ./${TEST} && success1=true
if test $success1 = false; then
break
fi
done

# Did we succeed?
Expand Down

0 comments on commit 00212e5

Please sign in to comment.