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 77# http://docs.openstack.org/developer/python-openstackclient/
88
99# This particular script differs from the normal post_test_hook because
10- # it installs the master (tip) version of osc-lib and openstacksdk
10+ # it installs the master (tip) version of osc-lib, os-client-config
11+ # and openstacksdk, OSCs most important dependencies.
1112
1213function generate_testr_results {
1314 if [ -f .testrepository/0 ]; then
14- sudo .tox/functional/bin/testr last --subunit > $WORKSPACE /testrepository.subunit
15+ sudo .tox/functional-tips /bin/testr last --subunit > $WORKSPACE /testrepository.subunit
1516 sudo mv $WORKSPACE /testrepository.subunit $BASE /logs/testrepository.subunit
16- sudo .tox/functional/bin/subunit2html $BASE /logs/testrepository.subunit $BASE /logs/testr_results.html
17+ sudo .tox/functional-tips /bin/subunit2html $BASE /logs/testrepository.subunit $BASE /logs/testr_results.html
1718 sudo gzip -9 $BASE /logs/testrepository.subunit
1819 sudo gzip -9 $BASE /logs/testr_results.html
1920 sudo chown jenkins:jenkins $BASE /logs/testrepository.subunit.gz $BASE /logs/testr_results.html.gz
@@ -28,7 +29,7 @@ sudo chown -R jenkins:stack $OPENSTACKCLIENT_DIR
2829cd $OPENSTACKCLIENT_DIR
2930
3031# Run tests
31- echo " Running openstackclient functional test suite"
32+ echo " Running openstackclient functional-tips test suite"
3233set +e
3334
3435# Source environment variables to kick things off
Original file line number Diff line number Diff line change @@ -58,9 +58,10 @@ passenv = OS_*
5858setenv = OS_TEST_PATH =./openstackclient/tests/functional
5959passenv = OS_*
6060commands =
61- pip install -q -U -e /opt/stack/new/osc-lib
62- pip install -q -U -e /opt/stack/new/python-openstacksdk
63- pip install -q -U -e /opt/stack/new/os-client-config
61+ pip install -q -U -e " git+file:///opt/stack/new/osc-lib#egg=osc_lib"
62+ pip install -q -U -e " git+file:///opt/stack/new/python-openstacksdk#egg=openstacksdk"
63+ pip install -q -U -e " git+file:///opt/stack/new/os-client-config#egg=os_client_config"
64+ pip freeze
6465 ostestr {posargs}
6566
6667[testenv:venv]
You can’t perform that action at this time.
0 commit comments