opencv_testing.sh script installation is removed as run tests script does the same...
authorAlexander Smorkalov <alexander.smorkalov@itseez.com>
Thu, 29 Jan 2015 16:20:18 +0000 (19:20 +0300)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Sun, 19 Apr 2015 10:37:29 +0000 (13:37 +0300)
(cherry picked from commit 9206ec30a25ce8653c3acc1603501e4f545bed25)

CMakeLists.txt
cmake/templates/opencv_testing.sh.in [deleted file]

index 1d7d78a..094a1f9 100644 (file)
@@ -613,10 +613,6 @@ if(INSTALL_TESTS AND OPENCV_TEST_DATA_PATH AND UNIX)
       install(PROGRAMS ${py_tests} DESTINATION ${OPENCV_TEST_INSTALL_PATH} COMPONENT tests)
       set(OPENCV_PYTHON_TESTS_LIST "test2.py")
     endif()
-    configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/templates/opencv_testing.sh.in"
-                   "${CMAKE_BINARY_DIR}/unix-install/opencv_testing.sh" @ONLY)
-    install(FILES "${CMAKE_BINARY_DIR}/unix-install/opencv_testing.sh"
-            DESTINATION /etc/profile.d/ COMPONENT tests)
     configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/templates/opencv_run_all_tests_unix.sh.in"
                    "${CMAKE_BINARY_DIR}/unix-install/opencv_run_all_tests.sh" @ONLY)
     install(PROGRAMS "${CMAKE_BINARY_DIR}/unix-install/opencv_run_all_tests.sh"
diff --git a/cmake/templates/opencv_testing.sh.in b/cmake/templates/opencv_testing.sh.in
deleted file mode 100644 (file)
index 3140136..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# Environment setup for OpenCV testing
-export OPENCV_TEST_DATA_PATH=@CMAKE_INSTALL_PREFIX@/share/OpenCV/testdata
\ No newline at end of file