From af45e407bb0c1370d6bf12eebd9c159f53001c45 Mon Sep 17 00:00:00 2001 From: Snaipe Date: Sun, 6 Sep 2015 02:45:58 +0200 Subject: [PATCH] Removed script-based tests when building with visual studio --- samples/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index 5bdb842..5934663 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -48,6 +48,8 @@ foreach(sample ${SAMPLES}) ) endforeach() +if (NOT MSVC) # we disable the scripted tests when building with MSVC + foreach(script ${SCRIPTS}) add_test(${script} sh ${CMAKE_CURRENT_LIST_DIR}/tests/${script}.sh) set_property(TEST ${script} PROPERTY @@ -61,3 +63,5 @@ foreach(script ${SCRIPTS}) ENVIRONMENT "CRITERION_SHORT_FILENAME=1" ) endforeach() + +endif()