summaryrefslogtreecommitdiff
path: root/lib/tinytest/tinytest.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tinytest/tinytest.c')
-rw-r--r--lib/tinytest/tinytest.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/tinytest/tinytest.c b/lib/tinytest/tinytest.c
index 01772f3f8..1ef957d31 100644
--- a/lib/tinytest/tinytest.c
+++ b/lib/tinytest/tinytest.c
@@ -234,9 +234,8 @@ testcase_run_one(const struct testgroup_t *group,
return SKIP;
}
- printf("# starting %s%s\n", group->prefix, testcase->name);
if (opt_verbosity>0 && !opt_forked) {
- //printf("%s%s: ", group->prefix, testcase->name);
+ printf("%s%s: ", group->prefix, testcase->name);
} else {
if (opt_verbosity==0) printf(".");
cur_test_prefix = group->prefix;
@@ -253,7 +252,6 @@ testcase_run_one(const struct testgroup_t *group,
outcome = testcase_run_bare_(testcase);
}
- printf("%s%s: ", group->prefix, testcase->name);
if (outcome == OK) {
++n_ok;
if (opt_verbosity>0 && !opt_forked)
@@ -265,8 +263,7 @@ testcase_run_one(const struct testgroup_t *group,
} else {
++n_bad;
if (!opt_forked)
- //printf("\n [%s FAILED]\n", testcase->name);
- puts("FAILED");
+ printf("\n [%s FAILED]\n", testcase->name);
}
if (opt_forked) {