From: Cédric Aguerre Date: Mon, 11 Apr 2016 16:07:42 +0000 (+0200) Subject: Fix tests environment X-Git-Tag: V8_1_0a1~32^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8289e828e244829f578a60d0439cc2e0ba5d3972;p=tools%2Fmedcoupling.git Fix tests environment --- diff --git a/src/CTestTestfileInstall.cmake b/src/CTestTestfileInstall.cmake index 62cc80e2e..794a509a1 100644 --- a/src/CTestTestfileInstall.cmake +++ b/src/CTestTestfileInstall.cmake @@ -18,7 +18,7 @@ # SET(COMPONENT_NAME MEDCOUPLING) -SET(TIMEOUT 500) +SET(TIMEOUT 120) SUBDIRS(INTERP_KERNELTest) SUBDIRS(MEDCoupling) diff --git a/src/MEDPartitioner_Swig/CTestTestfileInstall.cmake b/src/MEDPartitioner_Swig/CTestTestfileInstall.cmake index ca5403d01..a7063f251 100644 --- a/src/MEDPartitioner_Swig/CTestTestfileInstall.cmake +++ b/src/MEDPartitioner_Swig/CTestTestfileInstall.cmake @@ -27,5 +27,6 @@ FOREACH(tfile ${TEST_NAMES}) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT} + ENVIRONMENT "PYTHONPATH=../../bin:$ENV{PYTHONPATH}" ) ENDFOREACH() diff --git a/src/RENUMBER_Swig/CTestTestfileInstall.cmake b/src/RENUMBER_Swig/CTestTestfileInstall.cmake index de9e3e14e..febe92def 100644 --- a/src/RENUMBER_Swig/CTestTestfileInstall.cmake +++ b/src/RENUMBER_Swig/CTestTestfileInstall.cmake @@ -27,5 +27,6 @@ FOREACH(tfile ${TEST_NAMES}) SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT} + ENVIRONMENT "PYTHONPATH=../../bin:$ENV{PYTHONPATH}" ) ENDFOREACH()