[FFmpeg-cvslog] checkasm: exit with status 0 instead of 1 if there are no tests to perform

Henrik Gramner git at videolan.org
Sat Jul 18 02:31:05 CEST 2015


ffmpeg | branch: master | Henrik Gramner <henrik at gramner.com> | Fri Jul 17 18:07:57 2015 +0200| [6cc4d3e9a982e926494f4b919d9733fe29774acf] | committer: Janne Grunau

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6cc4d3e9a982e926494f4b919d9733fe29774acf
---

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



More information about the ffmpeg-cvslog mailing list