When run in --summary mode ccanlint doesn't actually report whether it
passed or failed in the message . In particular this means that when make
check is run with -j, it can be hard to tell which modules failed.
This adds a more obvious failure message.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
if (deps_fail_ignore && non_ccan_deps && build_failed) {
comment = " (missing non-ccan dependencies?)";
run.pass = true;
+ } else if (!run.pass) {
+ comment = " FAIL!";
}
printf("%sTotal score: %u/%u%s\n",
prefix, run.score, run.total, comment);