File tree Expand file tree Collapse file tree
openstackclient/tests/functional Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # This is a script that runs ostestr with the openrc OS_ variables sourced.
4+ # Do not run this script unless you know what you're doing.
5+ # For more information refer to:
6+ # https://docs.openstack.org/python-openstackclient/latest/
7+
8+ # Source environment variables to kick things off
9+ if [ -f ~ stack/devstack/openrc ] ; then
10+ source ~ stack/devstack/openrc admin admin
11+ fi
12+
13+ echo ' Running tests with:'
14+ env | grep OS
15+
16+ ostestr $*
Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ commands =
5656[testenv:functional]
5757setenv = OS_TEST_PATH =./openstackclient/tests/functional
5858passenv = OS_*
59+ # Enable this when running Zuul v3 jobs
60+ # whitelist_externals = openstackclient/tests/functional/run_ostestr.sh
61+ # commands =
62+ # {toxinidir}/openstackclient/tests/functional/run_ostestr.sh {posargs}
5963
6064[testenv:functional-tips]
6165setenv = OS_TEST_PATH =./openstackclient/tests/functional
You can’t perform that action at this time.
0 commit comments