Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3216a58e authored by Adrien Leman's avatar Adrien Leman Committed by hhakim
Browse files

test 4 cdash

parent 67c5e04c
Branches
Tags
No related merge requests found
......@@ -59,6 +59,24 @@ Warning :
mex function working with specific version of gcc depend to the platform used.
For that, please refers to the matworks information:
http://fr.mathworks.com/support/compilers/R2016a/index.html
Windows install :
Warning :
for Matlab installation, function where doesn't work when Path name have space caracter like "Program file". please prefers a witout space path like "programfiles"
where gcc // where g++ // where cmake // where make must be available.
For windows platform :
cmake -G "MinGW Makefiles" ..
message(STATUS "CXX=$ENV{CXX}")
sous windows on utilise MinGW pour le compilateur GCC G++ au lieu de visual studio plous lourd à installer. MinGW version 4.9.2 pour les mex functions..
set(CTEST_CMAKE_GENERATOR "MinGW Makefiles")
To compile MEX functions with Matlab:
You can use the MinGW-w64 version 4.9.2 compiler from TDM-GCC to build MEX files and standalone MATLAB® engine and MAT-file applications.
creer un compte mathworks et installer depuis la plateforme MinGW-w64 version 4.9.2 compiler from TDM-GCC
(cf. http://fr.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html for more information)
##########################################################################
......
......@@ -48,7 +48,7 @@ fi
# CTEST OPTION
export CTEST_CONFIGURE_OPTIONS="\
-DBUILD_OPENBLAS=ON;\
-DBUILD_OPENBLAS=OFF;\
-DBUILD_READ_MAT_FILE=ON;\
-DBUILD_READ_XML_FILE=ON;\
-DBUILD_MATLAB_MEX_FILES=ON;\
......
......@@ -47,7 +47,7 @@ export PATH=/usr/local/cuda-6.5/bin:/usr/local/bin:/usr/bin:$PATH
# CTEST OPTION
export CTEST_CONFIGURE_OPTIONS="\
-DBUILD_OPENBLAS=ON;\
-DBUILD_OPENBLAS=OFF;\
-DBUILD_READ_MAT_FILE=ON;\
-DBUILD_READ_XML_FILE=ON;\
-DBUILD_MATLAB_MEX_FILES=ON;\
......
......@@ -72,8 +72,8 @@ endif(BUILD_MATLAB_MEX_FILES)
# Running the differents binary created in this project
##############################################################################
# Critical time, which fixe the limit time of the process
set(TIMEOUT_MEG 7200)
set(TIMEOUT_COMP 10)
set(TIMEOUT_MEG 8000)
set(TIMEOUT_COMP 100)
# MATLAB input format
......@@ -102,7 +102,7 @@ if (BUILD_READ_MAT_FILE)
# display the result of MULTIPLY_COMPTIME and save it in folder FAUST_BIN_TEST_FIG_DIR as jpeg image (WARNING must be launched after MULTIPLY_COMPTIME)
add_test(NAME FIG_MULTIPLY_COMPTIME COMMAND matlab -nodesktop -r "try;addpath('${FAUST_BIN_TEST_TIME_COMPARE_DIR}');display_multiply_comptime('${FAUST_BIN_TEST_OUTPUT_DIR}/multiply_compare_time.mat','${FAUST_BIN_TEST_FIG_DIR}') ; catch ME ; disp('ERROR IN TEST display_multiply_comptime.m Please chek the output to visualize the error. ') ; end ; exit")
set_tests_properties(FIG_MULTIPLY_COMPTIME PROPERTIES TIMEOUT 120)
set_tests_properties(FIG_MULTIPLY_COMPTIME PROPERTIES TIMEOUT 300)
endif (BUILD_READ_MAT_FILE)
......@@ -134,8 +134,8 @@ if(BUILD_MATLAB_MEX_FILES)
#CTEST_FULL_OUTPUT
set_tests_properties(FAUST_HIER_MEX FAUST_HADAMARD_MEX PROPERTIES TIMEOUT 30)
set_tests_properties(DEMO_MATLAB PROPERTIES TIMEOUT 3000)
set_tests_properties(FAUST_HIER_MEX FAUST_HADAMARD_MEX PROPERTIES TIMEOUT 100)
set_tests_properties(DEMO_MATLAB PROPERTIES TIMEOUT 6000)
set_tests_properties(FAUST_MEG_MEX PROPERTIES TIMEOUT ${TIMEOUT_MEG})
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment