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
This commit is contained in:
Matt Riedemann 2015-09-02 17:23:07 -07:00
parent 0c7b85795a
commit 2c334f03dc

View File

@ -93,7 +93,7 @@ if [ -d ".testrepository" ] ; then
elif [ -f ".testrepository/0" ] ; then elif [ -f ".testrepository/0" ] ; then
.tox/functional/bin/subunit-1to2 < .testrepository/0 > ./subunit_log.txt .tox/functional/bin/subunit-1to2 < .testrepository/0 > ./subunit_log.txt
fi 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}') SUBUNIT_SIZE=$(du -k ./subunit_log.txt | awk '{print $1}')
gzip -9 ./subunit_log.txt gzip -9 ./subunit_log.txt
gzip -9 ./testr_results.html gzip -9 ./testr_results.html