summaryrefslogtreecommitdiff
path: root/run-tests.sh
blob: b95118536aaf378d268cbf0783da35f6c2a61874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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