summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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