From 82e9fad4a2f64bf2f4e7a1b71599e643a1b081f8 Mon Sep 17 00:00:00 2001 From: Tom Gillespie Date: Thu, 4 Apr 2019 02:53:47 -0400 Subject: [PATCH] run-tests updated to only care if DEAD has a value not merely if it is set --- bin/run-tests | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/run-tests b/bin/run-tests index e7448f47..3fbf7c27 100755 --- a/bin/run-tests +++ b/bin/run-tests @@ -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