Parse latest Tempest results

Output latest test run results as a subunit stream using testr's
built-in utility.

Closes-Bug: #1476793
Change-Id: Ib7afd26fe368303ac18ddc3436ee90a02301557f
This commit is contained in:
Julian Montez 2015-07-21 11:27:21 -05:00 committed by Jesse Pretorius
parent 3f6334c453
commit 3a94890367

View File

@ -187,7 +187,7 @@ echo "Using test list $test_list_summary"
result=$?
# Create junit xml report from test results
subunit-1to2 < .testrepository/0 | subunit2junitxml > tempest_results.xml
testr last --subunit | subunit2junitxml > tempest_results.xml
cp tempest_results.xml /tmp
if [ -d "/var/log/utility" ];then
# Copy the log to the utility logging directory