  
  #define CV_TEST_INIT \
 -- 
-2.7.4
+2.9.4
 

"test_superres.cpp:270: undefined reference to `checkIppStatus()'"

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
---
 modules/ts/include/opencv2/ts.hpp        | 4 ++--
 modules/ts/include/opencv2/ts/ts_ext.hpp | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/ts/include/opencv2/ts.hpp b/modules/ts/include/opencv2/ts.hpp
index c573905..7ff6cc1 100644
--- a/modules/ts/include/opencv2/ts.hpp
+++ b/modules/ts/include/opencv2/ts.hpp
@@ -539,7 +539,7 @@ protected:

 
 #define CV_TEST_MAIN(resourcesubdir, ...) \
 int main(int argc, char **argv) \
diff --git a/modules/ts/include/opencv2/ts/ocl_test.hpp b/modules/ts/include/opencv2/ts/ocl_test.hpp
index c967cd7..ff35b40 100644
--- a/modules/ts/include/opencv2/ts/ocl_test.hpp
+++ b/modules/ts/include/opencv2/ts/ocl_test.hpp
@@ -84,7 +84,7 @@ inline UMat ToUMat(InputArray src)
     return dst;
 }
 
-extern int test_loop_times;
+CV_EXPORTS extern int test_loop_times;
 
 #define MAX_VALUE 357
 
diff --git a/modules/ts/include/opencv2/ts/ts_ext.hpp b/modules/ts/include/opencv2/ts/ts_ext.hpp
index 05ccc63..8075065 100644
--- a/modules/ts/include/opencv2/ts/ts_ext.hpp
