aodh/run-functional-tests.sh
Julien Danjou 467a0418c8 Replace overtest by pifpaf
This is new and shiny!

Change-Id: I5ccc576211a0c49b65a07cc4054a2d039bd4d5d5
2016-05-27 21:03:20 +02:00

15 lines
337 B
Bash
Executable File

#!/bin/bash -x
set -e
export AODH_TEST_BACKEND=${AODH_TEST_BACKEND:-mysql}
export AODH_SERVICE_URL=${AODH_SERVICE_URL:-http://127.0.0.1:8042}
case $AODH_TEST_BACKEND in
hbase)
AODH_TEST_STORAGE_URL="hbase://__test__" $*
;;
*)
pifpaf -g AODH_TEST_STORAGE_URL run $AODH_TEST_BACKEND -- $*
;;
esac