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

This commit is contained in:
Henrik Gramner 2015-07-17 18:07:57 +02:00 committed by Janne Grunau
parent 256ef19844
commit 6cc4d3e9a9
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {