shaker/tools/process_subunit.sh
Ilya Shakhat 1119ec943f Add zuul job with integration testing
This patch introduces base integration test that verifies
messaging loop between agent and server, command execution
and report generation. Shaker in tested in standalone
mode, without intergration with OpenStack.

Change-Id: I8fdc63abdf0be0fc67c3b438bbfc1cf2f69c9f15
2018-10-22 15:03:38 +02:00

13 lines
226 B
Bash
Executable File

#!/bin/bash
LOGDIR=$1
SUBUNIT_FILE="${LOGDIR}/job.subunit"
HTML_FILE="${LOGDIR}/job.html"
ls ${LOGDIR}/*.subunit | xargs cat > ${SUBUNIT_FILE}
subunit2html ${SUBUNIT_FILE} ${HTML_FILE}
cat ${SUBUNIT_FILE} | subunit-stats