[LTP] [PATCH] lib/tst_test: print INFO msg for test variants
Murphy Zhou
xzhou@redhat.com
Thu May 30 10:58:34 CEST 2019
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(+)
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
--
2.21.0
More information about the ltp
mailing list