Commit 6cc4d3e9 authored by Henrik Gramner's avatar Henrik Gramner Committed by Janne Grunau

checkasm: exit with status 0 instead of 1 if there are no tests to perform

parent 256ef198
......@@ -320,7 +320,7 @@ int main(int argc, char *argv[])
if (!tests[0] || !cpus[0].flag) {
fprintf(stderr, "checkasm: no tests to perform\n");
return 1;
return 0;
}
if (argc > 1 && !strncmp(argv[1], "--bench", 7)) {
......
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