pipefail fuzzer run

This commit is contained in:
Mike Aizatsky 2016-11-02 14:40:01 -07:00
parent 7ef092ef97
commit fddbae61b7
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ compile
REPORT_DIR="/junit_reports"
mkdir -p $REPORT_DIR
set -o pipefail
DIR="/out"
N=0
@ -32,7 +33,7 @@ for FUZZER_BINARY in $(find $DIR -executable -type f); do
N=$[$N+1]
cat $out
FUZZER=$(basename $FUZZER_BINARY)
FUZZER=$(basename $FUZZER_BINARY)
REPORT_TEXT=$(cat <<-EOF
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="$FUZZER" tests="1" skipped="0" failures="0" errors="0" timestamp="2016-10-25T02:57:01" hostname="box678.localdomain" time="1">