Module: libav
Branch: master
Commit: 6cc4d3e9a982e926494f4b919d9733fe29774acf

Author:    Henrik Gramner <[email protected]>
Committer: Janne Grunau <[email protected]>
Date:      Fri Jul 17 18:07:57 2015 +0200

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

---

 tests/checkasm/checkasm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index ce73778..826cd35 100644
--- a/tests/checkasm/checkasm.c
+++ b/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)) {

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to