From: Dan Mick Date: Wed, 14 Sep 2016 03:29:52 +0000 (-0700) Subject: Stop hiding errors from run-tox.sh X-Git-Tag: v11.0.1~247^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=485ff7a4ea30c66f9b86587c70ff480a94eb08d4;p=ceph.git Stop hiding errors from run-tox.sh The grep -v should have been grep, but, why even bother? Tox doesn't output that much; just dump it, and exit with tox's error code. Fixes: http://tracker.ceph.com/issues/17267 Signed-off-by: Dan Mick --- diff --git a/src/ceph-detect-init/run-tox.sh b/src/ceph-detect-init/run-tox.sh index 3624381b8084..0c135c5aedb3 100755 --- a/src/ceph-detect-init/run-tox.sh +++ b/src/ceph-detect-init/run-tox.sh @@ -33,7 +33,4 @@ else fi source ${CEPH_DETECT_INIT_VIRTUALENV}/bin/activate -tox -c ${TOX_PATH} > ${CEPH_DETECT_INIT_VIRTUALENV}/tox.out 2>&1 -status=$? -grep -v InterpreterNotFound < ${CEPH_DETECT_INIT_VIRTUALENV}/tox.out -exit $status +tox -c ${TOX_PATH} diff --git a/src/ceph-disk/run-tox.sh b/src/ceph-disk/run-tox.sh index ae96e803dea1..76935b9e1f7d 100755 --- a/src/ceph-disk/run-tox.sh +++ b/src/ceph-disk/run-tox.sh @@ -30,7 +30,4 @@ if [ -z $CEPH_BUILD_DIR ]; then fi source ${CEPH_DISK_VIRTUALENV}/bin/activate -tox -c ${TOX_PATH} > ${CEPH_DISK_VIRTUALENV}/tox.out 2>&1 -status=$? -grep -v InterpreterNotFound < ${CEPH_DISK_VIRTUALENV}/tox.out -exit $status +tox -c ${TOX_PATH}