Skip to content

Commit

Permalink
fixed codacy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed May 1, 2019
1 parent cbf0a48 commit 080fe0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@ CC=mpicc FC=mpif90 cmake [-DOPTION1=value1 -DOPTION2=value2 ...] /path/to/pio/so

Full instructions for the cmake build can be found in the installation
documentation.

10 changes: 8 additions & 2 deletions examples/c/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,20 @@ for EXAMPLE in $PIO_EXAMPLES
do
success1=false
echo "running ${EXAMPLE}"
mpiexec -n 4 ./${EXAMPLE} && success1=true || break
mpiexec -n 4 ./${EXAMPLE} && success1=true
if test $success1 = false; then
break
fi
done
success2=true
for EXAMPLE in $PIO_EXAMPLES_16
do
success2=false
echo "running ${EXAMPLE}"
mpiexec -n 16 ./${EXAMPLE} && success2=true || break
mpiexec -n 16 ./${EXAMPLE} && success2=true
if test $success2 = false; then
break
fi
done

# Did we succeed?
Expand Down

0 comments on commit 080fe0a

Please sign in to comment.