panko/run-tests.sh
Mehdi Abaakouk 92782ad6a7 Add python 3.7 gating
This also moves all tests in standard venv

Depends-On: I248c7ff3e306fa1086920c24baa73312e5e31b91
Change-Id: I23a6046ae6741ed71c52d3129d6238d4a6dd1f1e
2018-07-26 14:47:34 +02:00

15 lines
252 B
Bash
Executable File

#!/bin/bash
set -e
set -o pipefail
# Run unit test
export OS_TEST_PATH=panko/tests/unit
stestr run $*
# Run functional test
export OS_TEST_PATH=panko/tests/functional/
for backend in $PANKO_BACKENDS; do
pifpaf run $backend -- stestr run $*
done