Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a171b435 authored by hhakim's avatar hhakim
Browse files

Fix test related cmake error on Windows.

A test was verified but not defined on Windows (with add_test()) so it yielded to a fatal error at build time.
CMake Error at misc/test/CMakeLists.txt:133 (set_tests_properties):
 set_tests_properties Can not find test to add properties to:
 MATLAB_FAUST_CONFIG_REAL1
[skip ci]
parent 8fb7b266
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,9 @@ if(BUILD_WRAPPER_MATLAB)
#DEBUT MODIF NB VM MAC XCode
set_tests_properties(MATLAB_FACT_HIER_MEX MATLAB_FACT_HIER_MATLAB PROPERTIES TIMEOUT 100)
set_tests_properties(MATLAB_DEMO_INSTALL MATLAB_DEMO_BUILD PROPERTIES TIMEOUT 6000)
set_tests_properties(MATLAB_FAUST_CONFIG_REAL1 MATLAB_FAUST_CONFIG_REAL2 MATLAB_FAUST_CONFIG_REAL3 MATLAB_FAUST_CONFIG_REAL4 MATLAB_FAUST_CONFIG_CPLX1 MATLAB_FAUST_CONFIG_CPLX2 MATLAB_FAUST_2 PROPERTIES TIMEOUT 30)
if(NOT WIN32)
set_tests_properties(MATLAB_FAUST_CONFIG_REAL1 MATLAB_FAUST_CONFIG_REAL2 MATLAB_FAUST_CONFIG_REAL3 MATLAB_FAUST_CONFIG_REAL4 MATLAB_FAUST_CONFIG_CPLX1 MATLAB_FAUST_CONFIG_CPLX2 MATLAB_FAUST_2 PROPERTIES TIMEOUT 30)
endif()
set_tests_properties(MATLAB_FACT_MEG_MATLAB MATLAB_FACT_MEG_MEX PROPERTIES TIMEOUT ${TIMEOUT_MEG})
#FIN MODIF NB VM MAC XCode
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment