]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Stop hiding errors from run-tox.sh
authorDan Mick <dan.mick@redhat.com>
Wed, 14 Sep 2016 03:29:52 +0000 (20:29 -0700)
committerDan Mick <dan.mick@redhat.com>
Wed, 14 Sep 2016 03:38:04 +0000 (20:38 -0700)
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 <dan.mick@redhat.com>
src/ceph-detect-init/run-tox.sh
src/ceph-disk/run-tox.sh

index 3624381b8084ae7ded8846184e8904b64e722ba1..0c135c5aedb30cccdc79012b99882c1913600c4b 100755 (executable)
@@ -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}
index ae96e803dea1e58bbb0d9a48e05d0eb249d7e9fc..76935b9e1f7d4418d5d1c68a3ffc582f4fb6271e 100755 (executable)
@@ -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}