From a09627a97d805dac4487a3f99e8570d461f41677 Mon Sep 17 00:00:00 2001 From: Maciej Kurc Date: Wed, 29 Apr 2020 10:15:06 +0200 Subject: [PATCH] Fixed db-full.sh to correctly pack failed fuzzers to a tar file. Signed-off-by: Maciej Kurc --- .github/kokoro/db-full.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/kokoro/db-full.sh b/.github/kokoro/db-full.sh index 271dc4dc..b465e535 100755 --- a/.github/kokoro/db-full.sh +++ b/.github/kokoro/db-full.sh @@ -53,7 +53,7 @@ echo "----------------------------------------" if [[ $DATABASE_RET != 0 ]] ; then # Collect the Vivado logs into one tgz archive echo "Packing failing test cases" - grep "recipe for target" $tmp | awk 'match($0,/recipe for target.*'\''(.*)\/run.ok'\''/,res) {print res[1]}' | xargs tar -zcf fails.tgz + grep "recipe for target" $tmp | awk 'match($0,/recipe for target.*'\''(.*)\/run\..*ok'\''/,res) {print "fuzzers/" res[1]}' | xargs tar -zcf fuzzers/fails.tgz echo "----------------------------------------" echo "A failure occurred during Database build." echo "----------------------------------------"