OSDN Git Service

checkasm: exit with status 0 instead of 1 if there are no tests to perform
authorHenrik Gramner <henrik@gramner.com>
Fri, 17 Jul 2015 16:07:57 +0000 (18:07 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Fri, 17 Jul 2015 23:06:44 +0000 (01:06 +0200)
tests/checkasm/checkasm.c

index ce73778..826cd35 100644 (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)) {