Commit 4d10049d authored by Rusty Russell's avatar Rusty Russell

ccanlint: make sure we stop on failure of compulsory test.

parent 6cb87a77
...@@ -185,7 +185,7 @@ static bool run_test(struct ccanlint *i, ...@@ -185,7 +185,7 @@ static bool run_test(struct ccanlint *i,
d->dependent->skip_fail = true; d->dependent->skip_fail = true;
} }
} }
return good; return !bad;
} }
static void register_test(struct list_head *h, struct ccanlint *test, ...) static void register_test(struct list_head *h, struct ccanlint *test, ...)
......
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