mirror of https://github.com/openXC7/prjxray.git
gh: ci: fix regex to pack failing logs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
parent
1bd8142625
commit
b784f782d8
|
|
@ -73,7 +73,7 @@ echo "----------------------------------------"
|
||||||
# Looking for the failing directories and packing them
|
# Looking for the failing directories and packing them
|
||||||
# example of line from which the failing fuzzer directory gets extracted:
|
# example of line from which the failing fuzzer directory gets extracted:
|
||||||
# - Makefile:87: recipe for target '000-db-init/000-init-db/run.xc7a100tfgg676-1.ok' failed --> fuzzers/000-db-init
|
# - Makefile:87: recipe for target '000-db-init/000-init-db/run.xc7a100tfgg676-1.ok' failed --> fuzzers/000-db-init
|
||||||
grep -Po "recipe for target '\K(.*)(?=\/run\..*\.ok')" $tmp | sed -e 's/^/fuzzers\//' | xargs tar -zcf fuzzers/fails.tgz
|
grep -Po "recipe for target '\K(.*)(?=\/run.*\.ok')" $tmp | sed -e 's/^/fuzzers\//' | xargs tar -zcf fuzzers/fails.tgz
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
echo "A failure occurred during Database build."
|
echo "A failure occurred during Database build."
|
||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue