public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] lib/tst_test.sh: Add statistics info TST_BROK
@ 2021-04-10  7:30 Zhao Gongyi
  0 siblings, 0 replies; 4+ messages in thread
From: Zhao Gongyi @ 2021-04-10  7:30 UTC (permalink / raw)
  To: ltp

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

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

diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh
index a6a8e9579..02152796a 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 "broked   $TST_BROK"
 	echo "skipped  $TST_CONF"
 	echo "warnings $TST_WARN"

--
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [LTP] [PATCH] lib/tst_test.sh: Add statistics info TST_BROK
@ 2021-04-10  7:38 Zhao Gongyi
  2021-04-16 14:34 ` Cyril Hrubis
  2021-04-16 14:41 ` Petr Vorel
  0 siblings, 2 replies; 4+ messages in thread
From: Zhao Gongyi @ 2021-04-10  7:38 UTC (permalink / raw)
  To: ltp

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(+)

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"

--
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [LTP] [PATCH] lib/tst_test.sh: Add statistics info TST_BROK
  2021-04-10  7:38 [LTP] [PATCH] lib/tst_test.sh: Add statistics info TST_BROK Zhao Gongyi
@ 2021-04-16 14:34 ` Cyril Hrubis
  2021-04-16 14:41 ` Petr Vorel
  1 sibling, 0 replies; 4+ messages in thread
From: Cyril Hrubis @ 2021-04-16 14:34 UTC (permalink / raw)
  To: ltp

Hi!
Pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LTP] [PATCH] lib/tst_test.sh: Add statistics info TST_BROK
  2021-04-10  7:38 [LTP] [PATCH] lib/tst_test.sh: Add statistics info TST_BROK Zhao Gongyi
  2021-04-16 14:34 ` Cyril Hrubis
@ 2021-04-16 14:41 ` Petr Vorel
  1 sibling, 0 replies; 4+ messages in thread
From: Petr Vorel @ 2021-04-16 14:41 UTC (permalink / raw)
  To: ltp

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-16 14:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-10  7:38 [LTP] [PATCH] lib/tst_test.sh: Add statistics info TST_BROK Zhao Gongyi
2021-04-16 14:34 ` Cyril Hrubis
2021-04-16 14:41 ` Petr Vorel
  -- strict thread matches above, loose matches on Subject: below --
2021-04-10  7:30 Zhao Gongyi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox