mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
disable CTest target for opencv_test_viz:
opencv_test_viz creates windows and waits until user close them, it is not appropriate for automatic testing
This commit is contained in:
parent
0c57dc2e00
commit
f44c29ad7d
@ -814,7 +814,7 @@ function(ocv_add_accuracy_tests)
|
||||
|
||||
ocv_add_precompiled_headers(${the_target})
|
||||
|
||||
if(CMAKE_VERSION VERSION_GREATER "2.8" AND OPENCV_TEST_DATA_PATH)
|
||||
if(CMAKE_VERSION VERSION_GREATER "2.8" AND OPENCV_TEST_DATA_PATH AND NOT "${the_target}" MATCHES "opencv_test_viz")
|
||||
add_test(NAME ${the_target} COMMAND ${the_target})
|
||||
|
||||
set_tests_properties(${the_target} PROPERTIES
|
||||
|
Loading…
Reference in New Issue
Block a user