shithub: openh264

Download patch

ref: 14f2fe214f36c7e9db7a98c835d6bf0b838e2371
parent: e1152f94834f17720750d6e46ba9d87ff12dd3ee
parent: 8b1b0b6582717d1a8917af87f7012b5de9c94645
author: huili2 <[email protected]>
date: Thu Jun 26 07:27:17 EDT 2014

Merge pull request #1016 from syureyi/iosat

for auto testing

--- a/test/api/simple_test.cpp
+++ b/test/api/simple_test.cpp
@@ -10,7 +10,7 @@
 int main (int argc, char** argv) {
 #endif
 
-#if defined(ANDROID_NDK)
+#if (defined(ANDROID_NDK)||defined(APPLE_IOS))
   char xmlPath[1024] = "";
   sprintf (xmlPath, "xml:%s", argv[1]);
   ::testing::GTEST_FLAG (output) = xmlPath;
--- a/test/build/ios/codec_unittest/codec_unittest/main.m
+++ b/test/build/ios/codec_unittest/codec_unittest/main.m
@@ -53,6 +53,7 @@
     argv[0]="codec_unittest";
     argv[1]=path;
     CodecUtMain(argc,argv);
+    abort();
     @autoreleasepool {
         return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
     }