hs-test: failed summary fix

Remove failed-summary.log from the previous run, otherwise it might be
displayed if all tests pass.

Type: test
Change-Id: I435de37e298105ed5b92012fe4da3cda3a0670b6
Signed-off-by: Matus Fabian <matfabia@cisco.com>
This commit is contained in:
Matus Fabian 2024-08-26 11:59:16 +02:00
parent 69123a3f67
commit 62b508b396

View File

@ -140,4 +140,8 @@ Full Back Trace:
"\nFull Stack Trace:
\(.Failure.Location.FullStackTrace)\n" end) end)' summary/report.json > summary/failed-summary.log \
&& echo "Summary generated -> summary/failed-summary.log"
else
if [ -e "summary/failed-summary.log" ]; then
rm summary/failed-summary.log
fi
fi