Skip to contentSkip to conversation

lib/tst_test.sh: Add statistics info TST_BROK

PATCH New Zhao Gongyi 3 participants 3 messages Apr 10, 2021 – Apr 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/tst_test.sh: Add statistics info TST_BROK

Before test exit, we need print statistics info of TST_BROK.

---
v1->v2:Correct typos

---
 testcases/lib/tst_test.sh | 1 +
 1 file changed, 1 insertion(+)
testcases/lib/tst_test.sh +1 -0
index a6a8e9579..7f98e06bf 100644
@@ -82,6 +82,7 @@ _tst_do_exit()
 	echo "Summary:"
 	echo "passed   $TST_PASS"
 	echo "failed   $TST_FAIL"
+	echo "broken   $TST_BROK"
 	echo "skipped  $TST_CONF"
 	echo "warnings $TST_WARN"
 

--
2.17.1

#2 lore raw

PATCH 1/1 lib/tst_test.sh: Add statistics info TST_BROK

In reply to Zhao Gongyi
Quoted 1 line

Before test exit, we need print statistics info of TST_BROK.

Good idea, thanks!

Quoted 2 lines

---
v1->v2:Correct typos

Please don't forget to add -v2 to git format-patch :).

Kind regards,
Petr