Commit 728d98e8 authored by Rusty Russell's avatar Rusty Russell

ccanlint: show each test as we execute it with -vv

Tests can be slow to run, and this way we can monitor progress.
parent 4c5ed661
......@@ -94,6 +94,8 @@ static void do_run_tests(struct manifest *m,
foreach_ptr(list, &m->run_tests, &m->api_tests) {
list_for_each(list, i, list) {
score->total++;
if (verbose >= 2)
printf(" %s\n", i->name);
if (run_test(score, m, timeleft, &cmdout, i))
score->score++;
else
......
......@@ -29,6 +29,8 @@ static void do_run_tests_no_features(struct manifest *m,
foreach_ptr(list, &m->run_tests, &m->api_tests) {
list_for_each(list, i, list) {
score->total++;
if (verbose >= 2)
printf(" %s\n", i->name);
if (run_command(m, timeleft, &cmdout, "%s",
i->compiled[COMPILE_NOFEAT]))
score->score++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment