mirror of https://github.com/openXC7/prjxray.git
Fixed db-full.sh to correctly pack failed fuzzers to a tar file.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
This commit is contained in:
parent
418063afdc
commit
a09627a97d
|
|
@ -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 "----------------------------------------"
|
||||
|
|
|
|||
Loading…
Reference in New Issue