"Compiled successfully with -DFAIL?");
return;
}
+ score->total++;
}
score->pass = true;
- score->total = 2;
- score->score = 1 + !warnings;
+ score->score = score->total - warnings;
}
static void do_compile_tests(struct manifest *m,
unsigned int *timeleft,
struct score *score)
{
- return compile_tests(m, keep, score, "-I. ");
+ compile_tests(m, keep, score, "-I. ");
}
struct ccanlint tests_compile_without_features = {