Switch to using os-testr's copy of subunit2html

Since Ib65c41fc5f137eedb21fccfcee1e96b6990ae30d removes the local
jenkins slave script copy of subunit2html we must start using the
version packaged in os-testr.

(Removed from gate: Neutron failing all unit tests)


Change-Id: I7b7908986eb503a0d2ae8e2365b34516e6e68f92
(cherry picked from commit 7629285630)
This commit is contained in:
armando-migliaccio 2015-08-26 14:01:04 -07:00 committed by Sean Dague
parent 33f6620737
commit f57a90a549
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ set -xe
NEUTRON_DIR="$BASE/new/neutron"
TEMPEST_DIR="$BASE/new/tempest"
SCRIPTS_DIR="/usr/local/jenkins/slave_scripts"
SCRIPTS_DIR="/usr/os-testr-env/bin/"
venv=${1:-"dsvm-functional"}
@ -14,7 +14,7 @@ function generate_testr_results {
sudo -H -u $owner chmod o+rw -R .testrepository
if [ -f ".testrepository/0" ] ; then
.tox/$venv/bin/subunit-1to2 < .testrepository/0 > ./testrepository.subunit
.tox/$venv/bin/python $SCRIPTS_DIR/subunit2html.py ./testrepository.subunit testr_results.html
$SCRIPTS_DIR/subunit2html ./testrepository.subunit testr_results.html
gzip -9 ./testrepository.subunit
gzip -9 ./testr_results.html
sudo mv ./*.gz /opt/stack/logs/