summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2018-01-29 14:03:15 +0100
committerJulien Danjou <julien@danjou.info>2018-01-29 14:03:15 +0100
commit8a1c44f385ce76df9e135877afb36f3d473520ea (patch)
tree07e1dab6b89a9e8c7ebb59fa3cdaff7d18dc7dd9
parent5f2cc46b026896a0fefd3b10a87d84cbd73d14f4 (diff)
downloadceilometer-8a1c44f385ce76df9e135877afb36f3d473520ea.tar.gz
Remove run-tests.sh
This is barely useful now, simplify test running. Change-Id: I21ab76248797cdc05ac64ec4018c4e472c5b7317
-rwxr-xr-xrun-tests.sh14
-rw-r--r--tox.ini4
2 files changed, 1 insertions, 17 deletions
diff --git a/run-tests.sh b/run-tests.sh
deleted file mode 100755
index b6539316..00000000
--- a/run-tests.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-set -e
-set -x
-
-echo
-echo "OS_TEST_PATH: $OS_TEST_PATH"
-echo "CEILOMETER_TEST_DEBUG: $CEILOMETER_TEST_DEBUG"
-echo
-
-if [ "$CEILOMETER_TEST_DEBUG" == "True" ]; then
- oslo_debug_helper $*
-else
- ./tools/pretty_tox.sh $*
-fi
diff --git a/tox.ini b/tox.ini
index 6e0836b4..97e37563 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,11 +12,9 @@ usedevelop = True
setenv = VIRTUAL_ENV={envdir}
OS_TEST_PATH=ceilometer/tests/unit
CEILOMETER_TEST_BACKEND={env:CEILOMETER_TEST_BACKEND:none}
- CEILOMETER_TEST_DEBUG={env:CEILOMETER_TEST_DEBUG:}
- debug: CEILOMETER_TEST_DEBUG=True
passenv = OS_TEST_TIMEOUT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE CEILOMETER_*
commands =
- bash -x {toxinidir}/run-tests.sh "{posargs}"
+ {toxinidir}/tools/pretty_tox.sh "{posargs}"
oslo-config-generator --config-file=etc/ceilometer/ceilometer-config-generator.conf
whitelist_externals = bash