Skip to content

Commit

Permalink
run-tests updated to only care if DEAD has a value not merely if it i…
Browse files Browse the repository at this point in the history
…s set
  • Loading branch information
tgbugs committed Apr 4, 2019
1 parent a555e64 commit 82e9fad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ pushd ttlser; pytest --verbose --cov-append --cov-config=../.coveragerc --cov=
pytest --verbose --cov-append --cov=pyontutils --cov=ttlser test || export DEAD=${DEAD}pyontutils:
pushd nifstd; pytest --verbose --cov-append --cov-config=../.coveragerc --cov=pyontutils --cov=nifstd_tools test || export DEAD=${DEAD}nifstd: ; popd
pushd neurondm; pytest --verbose --cov-append --cov-config=../.coveragerc --cov=pyontutils --cov=neurondm test || export DEAD=${DEAD}neurondm: ; popd
if [ -n ${DEAD} ]; then
if [[ ! -z "${DEAD}" ]]; then
(>&2 echo ${DEAD});
exit 1;
else
exit 0;
fi

0 comments on commit 82e9fad

Please sign in to comment.