Removed script-based tests when building with visual studio

This commit is contained in:
Snaipe 2015-09-06 02:45:58 +02:00
parent d65b1c951d
commit af45e407bb

View file

@ -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()