From: Matus Fabian Date: Mon, 26 Aug 2024 09:59:16 +0000 (+0200) Subject: hs-test: failed summary fix X-Git-Tag: v25.02-rc0~53 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F41477%2F1;p=vpp.git 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 --- diff --git a/extras/hs-test/hs_test.sh b/extras/hs-test/hs_test.sh index 5d94ea88ede..85c0dd72705 100644 --- a/extras/hs-test/hs_test.sh +++ b/extras/hs-test/hs_test.sh @@ -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