checkasm: exit with status 0 instead of 1 if there are no tests to perform
This commit is contained in:
parent
256ef19844
commit
6cc4d3e9a9
@ -320,7 +320,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (!tests[0] || !cpus[0].flag) {
|
if (!tests[0] || !cpus[0].flag) {
|
||||||
fprintf(stderr, "checkasm: no tests to perform\n");
|
fprintf(stderr, "checkasm: no tests to perform\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argc > 1 && !strncmp(argv[1], "--bench", 7)) {
|
if (argc > 1 && !strncmp(argv[1], "--bench", 7)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user