base64-test: Remove posibility of returning restricted exit codes
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 22 Oct 2013 18:11:31 +0000 (19:11 +0100)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 25 Oct 2013 10:06:32 +0000 (11:06 +0100)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavutil/base64.c

index d16195f..725b035 100644 (file)
@@ -156,7 +156,10 @@ int main(void)
     for (i = 0; i < FF_ARRAY_ELEMS(tests); i++)
         error_count += test_encode_decode(tests[i].data, strlen(tests[i].data), tests[i].encoded_ref);
 
-    return error_count;
+    if (error_count)
+        printf("Error Count: %d.\n", error_count);
+
+    return !!error_count;
 }
 
 #endif