diff mbox series

lib/tst_test: print INFO msg for test variants

Message ID 20190530085834.21432-1-xzhou@redhat.com
State Rejected
Headers show
Series lib/tst_test: print INFO msg for test variants | expand

Commit Message

Murphy Zhou May 30, 2019, 8:58 a.m. UTC
Make the test output clearer about what's going on when we
run multiple variants.

Signed-off-by: Murphy Zhou <xzhou@redhat.com>
---
 lib/tst_test.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Cyril Hrubis May 30, 2019, 9:48 a.m. UTC | #1
Hi!
> Make the test output clearer about what's going on when we
> run multiple variants.

Actually the test itself is supposed to print which variant it's about
the test. Printing the variant number does not help much.
diff mbox series

Patch

diff --git a/lib/tst_test.c b/lib/tst_test.c
index 2d88adbd7..fec6c9aba 100644
--- a/lib/tst_test.c
+++ b/lib/tst_test.c
@@ -1201,6 +1201,7 @@  void tst_run_tcases(int argc, char *argv[], struct tst_test *self)
 		test_variants = tst_test->test_variants;
 
 	for (tst_variant = 0; tst_variant < test_variants; tst_variant++) {
+		tst_res(TINFO, "Running tst_variant %d\n", tst_variant);
 		if (tst_test->all_filesystems)
 			ret |= run_tcases_per_fs();
 		else