diff options
| author | TerryHowe <terrylhowe@gmail.com> | 2015-04-16 12:56:40 -0600 |
|---|---|---|
| committer | TerryHowe <terrylhowe@gmail.com> | 2015-04-25 08:42:06 -0600 |
| commit | aa7e58cefb67b28ec3c3fcc6f654b41d3ecc6c4a (patch) | |
| tree | 342e1a138d87224506f4000935489f545a13f603 /post_test_hook.sh | |
| parent | e288e0194c22daa98436acf0441d6b8fff0b1d90 (diff) | |
| download | python-openstackclient-aa7e58cefb67b28ec3c3fcc6f654b41d3ecc6c4a.tar.gz | |
Functional tests run in many environments
Have the functional tests running with less customization and
less shell. This change will allow the functional tests to be
run against any cloud set up in the environment.
Change-Id: I24f621fbace62273e5a0be24e7af9078c0fc8550
Diffstat (limited to 'post_test_hook.sh')
| -rwxr-xr-x | post_test_hook.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/post_test_hook.sh b/post_test_hook.sh index b82c1e62..4c35b520 100755 --- a/post_test_hook.sh +++ b/post_test_hook.sh @@ -10,6 +10,11 @@ set -xe OPENSTACKCLIENT_DIR=$(cd $(dirname "$0") && pwd) -cd $OPENSTACKCLIENT_DIR echo "Running openstackclient functional test suite" -sudo -H -u stack tox -e functional +sudo -H -u stack -i <<! +source ~stack/devstack/accrc/admin/admin +echo 'Running tests with:' +env | grep OS_ +cd ${OPENSTACKCLIENT_DIR} +tox -e functional +! |
