From 1c3c94fd2cafed081c082d931699493489e25955 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Mon, 29 Sep 2014 20:42:24 +0400 Subject: [PATCH] Exclude OpenCL tests from default test list for Android as they are experimental. --- cmake/templates/opencv_run_all_tests_android.sh.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmake/templates/opencv_run_all_tests_android.sh.in b/cmake/templates/opencv_run_all_tests_android.sh.in index 93373fa964..347d969578 100644 --- a/cmake/templates/opencv_run_all_tests_android.sh.in +++ b/cmake/templates/opencv_run_all_tests_android.sh.in @@ -18,11 +18,14 @@ if [ -z `which adb` ]; then return 1 fi +accuracy=`find "$OPENCV_TEST_PATH/$TARGET_ARCH" -maxdepth 1 -executable -name "opencv_test_*" -not -name opencv_test_ocl` +performance=`find "$OPENCV_TEST_PATH/$TARGET_ARCH" -maxdepth 1 -executable -name "opencv_perf_*" -not -name opencv_perf_ocl` + adb push $OPENCV_TEST_DATA_PATH /sdcard/opencv_testdata adb shell "mkdir -p /data/local/tmp/opencv_test" SUMMARY_STATUS=0 -for t in "$OPENCV_TEST_PATH/$TARGET_ARCH/"opencv_test_* "$OPENCV_TEST_PATH/$TARGET_ARCH/"opencv_perf_*; +for t in $accuracy $performance; do test_name=`basename "$t"` report="$test_name-`date --rfc-3339=date`.xml"