From 76292856308be2904f10125665c88251a2f38b69 Mon Sep 17 00:00:00 2001 From: armando-migliaccio Date: Wed, 26 Aug 2015 14:01:04 -0700 Subject: [PATCH] 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. Change-Id: I7b7908986eb503a0d2ae8e2365b34516e6e68f92 --- neutron/tests/contrib/post_test_hook.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neutron/tests/contrib/post_test_hook.sh b/neutron/tests/contrib/post_test_hook.sh index 19f72b8c7..efac0d624 100644 --- a/neutron/tests/contrib/post_test_hook.sh +++ b/neutron/tests/contrib/post_test_hook.sh @@ -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/ -- 2.45.2