panko/run-functional-tests.sh
Julien Danjou 36c5b87058 Use overtest to setup functional backends
This patches leverage overtest to setup the database environment needed.

Change-Id: I8198041b4a87bf187d8f6499f0c7c1a43d4dcac2
Depends-On: I29e480611e743ddc645fd067ca2c63b51b11b518
2016-02-10 13:12:34 +01:00

12 lines
237 B
Bash
Executable File

#!/bin/bash -x
set -e
# Use a mongodb backend by default
if [ -z $CEILOMETER_TEST_BACKEND ]; then
CEILOMETER_TEST_BACKEND="mongodb"
fi
for backend in $CEILOMETER_TEST_BACKEND; do
overtest $backend ./tools/pretty_tox.sh $*
done