Commit d4aa9aa3 authored by Rusty Russell's avatar Rusty Russell

Fix crash on compulsory test fail.

parent 0c59d978
......@@ -149,8 +149,9 @@ int main(int argc, char *argv[])
if (verbose)
printf("Compulsory tests:\n");
list_for_each(&tests, i, list)
if (!i->total_score && !run_test(i, summary, NULL, NULL, m))
exit(1);
if (!i->total_score)
if (!run_test(i, summary, &score, &total_score, m))
exit(1);
if (verbose)
printf("\nNormal tests:\n");
......
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