Update libfuzzer-pipeline-test.groovy

This commit is contained in:
Mike Aizatsky 2016-10-14 14:35:51 -07:00 committed by GitHub
parent e0a5c357b0
commit 5b97691696
1 changed files with 3 additions and 1 deletions

View File

@ -87,6 +87,7 @@ def call(body) {
def resultsDir = "$workspace/test-results"
sh "rm -rf $resultsDir"
sh "mkdir -p $resultsDir"
dir ('out') {
def fuzzersFound = 0
sh "ls -alR"
@ -126,8 +127,9 @@ def call(body) {
sh "cat $resultsDir/TEST-${sanitizer}.xml"
}
}
sh "ls -al $resultsDir/"
step([$class: 'JUnitResultArchiver', testResults: '**/TEST-*.xml'])
step([$class: 'JUnitResultArchiver', testResults: 'test-results/TEST-*.xml'])
echo "Tested $fuzzersFound fuzzer"
if (!fuzzersFound) {
error "no fuzzers found";