Remove run-tests.sh
This is barely useful now, simplify test running. Change-Id: I21ab76248797cdc05ac64ec4018c4e472c5b7317
This commit is contained in:
parent
5f2cc46b02
commit
8a1c44f385
14
run-tests.sh
14
run-tests.sh
@ -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
|
4
tox.ini
4
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user