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

pull/140/head
Henrik Gramner 10 years ago committed by Janne Grunau
parent 256ef19844
commit 6cc4d3e9a9
  1. 2
      tests/checkasm/checkasm.c

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

Loading…
Cancel
Save