]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Switch to using os-testr's copy of subunit2html
authorarmando-migliaccio <armamig@gmail.com>
Wed, 26 Aug 2015 21:01:04 +0000 (14:01 -0700)
committerarmando-migliaccio <armamig@gmail.com>
Wed, 26 Aug 2015 22:21:27 +0000 (15:21 -0700)
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

index 19f72b8c767054f46cb03e0ff577262bb69dfbbc..efac0d6243f27a063bc73302b6eb7af3c92451bb 100644 (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/