From 2c334f03dce0bbc7e05eba14e7e195dc06fc5c7e Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Wed, 2 Sep 2015 17:23:07 -0700 Subject: [PATCH] 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: I5e50e7d7ad845aba26403df1df412c0a139a6dc7 Closes-Bug: #1491646 --- contrib/ci/post_test_hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ci/post_test_hook.sh b/contrib/ci/post_test_hook.sh index 0061992bb..30021d787 100755 --- a/contrib/ci/post_test_hook.sh +++ b/contrib/ci/post_test_hook.sh @@ -93,7 +93,7 @@ if [ -d ".testrepository" ] ; then elif [ -f ".testrepository/0" ] ; then .tox/functional/bin/subunit-1to2 < .testrepository/0 > ./subunit_log.txt fi - .tox/functional/bin/python /usr/local/jenkins/slave_scripts/subunit2html.py ./subunit_log.txt testr_results.html + /usr/os-testr-env/bin/subunit2html ./subunit_log.txt testr_results.html SUBUNIT_SIZE=$(du -k ./subunit_log.txt | awk '{print $1}') gzip -9 ./subunit_log.txt gzip -9 ./testr_results.html