summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi NATSUME <natsume.takashi@lab.ntt.co.jp>2015-09-04 11:04:04 +0900
committerTakashi NATSUME <natsume.takashi@lab.ntt.co.jp>2015-09-04 11:06:00 +0900
commitd75f79f67c176a38d41fcc5f8794d5956ac65ace (patch)
tree912d8a402f6ac37a2b53fa26794d906fac4b2473
parent627f68e2c6a382b51a1b4ee3250ae431431e86b6 (diff)
downloadpython-neutronclient-d75f79f67c176a38d41fcc5f8794d5956ac65ace.tar.gz
Update path to subunit2html in post_test_hook
Per: http://lists.openstack.org/pipermail/openstack-dev/2015-August/072982.html The location of subunit2html changed on the images in the gate so update the path used in the post_test_hook. Long-term we should just use what's in devstack-gate. Change-Id: If37743547f739e494501bbc5dc3bb214293919fa Closes-Bug: #1491646
-rwxr-xr-xneutronclient/tests/functional/hooks/post_test_hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/neutronclient/tests/functional/hooks/post_test_hook.sh b/neutronclient/tests/functional/hooks/post_test_hook.sh
index 0f96ec8..87cc29a 100755
--- a/neutronclient/tests/functional/hooks/post_test_hook.sh
+++ b/neutronclient/tests/functional/hooks/post_test_hook.sh
@@ -18,7 +18,7 @@ function generate_testr_results {
if [ -f .testrepository/0 ]; then
sudo .tox/functional/bin/testr last --subunit > $WORKSPACE/testrepository.subunit
sudo mv $WORKSPACE/testrepository.subunit $BASE/logs/testrepository.subunit
- sudo .tox/functional/bin/python /usr/local/jenkins/slave_scripts/subunit2html.py $BASE/logs/testrepository.subunit $BASE/logs/testr_results.html
+ sudo /usr/os-testr-env/bin/subunit2html $BASE/logs/testrepository.subunit $BASE/logs/testr_results.html
sudo gzip -9 $BASE/logs/testrepository.subunit
sudo gzip -9 $BASE/logs/testr_results.html
sudo chown jenkins:jenkins $BASE/logs/testrepository.subunit.gz $BASE/logs/testr_results.html.gz