summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/run_stestr.sh
blob: 229b42b676ada70a8e86f085f3e714910a626398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# This is a script that runs ostestr with the openrc OS_ variables sourced.
# Do not run this script unless you know what you're doing.
# For more information refer to:
# https://docs.openstack.org/python-openstackclient/latest/

# Source environment variables to kick things off
if [ -f ~stack/devstack/openrc ] ; then
    source ~stack/devstack/openrc admin admin
fi

echo 'Running tests with:'
env | grep OS

stestr run $*