diff mbox series

lib/tst_test.sh: Add statistics info TST_BROK

Message ID 20210410073823.21753-1-zhaogongyi@huawei.com
State Accepted
Headers show
Series lib/tst_test.sh: Add statistics info TST_BROK | expand

Commit Message

Zhao Gongyi April 10, 2021, 7:38 a.m. UTC
Before test exit, we need print statistics info of TST_BROK.

Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
---
v1->v2:Correct typos
---
 testcases/lib/tst_test.sh | 1 +
 1 file changed, 1 insertion(+)

--
2.17.1

Comments

Cyril Hrubis April 16, 2021, 2:34 p.m. UTC | #1
Hi!
Pushed, thanks.
Petr Vorel April 16, 2021, 2:41 p.m. UTC | #2
> Before test exit, we need print statistics info of TST_BROK.

Good idea, thanks!

Reviewed-by: Petr Vorel <pvorel@suse.cz>

> ---
> v1->v2:Correct typos
Please don't forget to add -v2 to git format-patch :).

Kind regards,
Petr
diff mbox series

Patch

diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh
index a6a8e9579..7f98e06bf 100644
--- a/testcases/lib/tst_test.sh
+++ b/testcases/lib/tst_test.sh
@@ -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"