deb-gnocchi/run-tests.sh
Julien Danjou f949c5c51d Use overtest to setup InfluxDB
Change-Id: Iaf046e48ec4331911f5a142f82e26667a0ca8e37
2016-01-21 11:10:27 +01:00

14 lines
441 B
Bash
Executable File

#!/bin/bash -x
set -e
GNOCCHI_TEST_STORAGE_DRIVERS=${GNOCCHI_TEST_STORAGE_DRIVERS:-file}
GNOCCHI_TEST_INDEXER_DRIVERS=${GNOCCHI_TEST_INDEXER_DRIVERS:-postgresql}
for storage in ${GNOCCHI_TEST_STORAGE_DRIVERS}
do
for indexer in ${GNOCCHI_TEST_INDEXER_DRIVERS}
do
export GNOCCHI_TEST_INDEXER_DRIVER=$indexer
export GNOCCHI_TEST_STORAGE_DRIVER=$storage
./setup-test-env.sh ./tools/pretty_tox.sh $*
done
done