aodh/run-tests.sh
gord chung 6005f80f9b fix gate
new ostestr is different and is breaking gate. i don't think we
really need ostestr since we don't use it in any of the projects
under Telemetry. so to remain consistent and simple, just follow
similar pattern.

Change-Id: I742de2107cf56ef8b223fa1431529e706cc52377
2017-09-11 17:21:06 +00:00

13 lines
299 B
Bash
Executable File

#!/bin/bash -x
set -e
export OS_TEST_PATH=aodh/tests/unit
./tools/pretty_tox.sh $*
export OS_TEST_PATH=aodh/tests/functional
AODH_TEST_DRIVERS=${AODH_TEST_DRIVERS:-postgresql}
for indexer in ${AODH_TEST_DRIVERS}
do
pifpaf -g AODH_TEST_STORAGE_URL run $indexer -- ./tools/pretty_tox.sh $*
done