Merge "Remove run-tests.sh"

This commit is contained in:
Zuul 2018-03-14 12:53:57 +00:00 committed by Gerrit Code Review
commit ffec6052b2
2 changed files with 1 additions and 17 deletions

View File

@ -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

View File

@ -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