From f93666474947a2dce6782eddcd24fe1ba624c246 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Mon, 11 Apr 2016 18:07:42 +0200 Subject: [PATCH] Fix tests environment --- src/CTestTestfileInstall.cmake | 2 +- src/MEDPartitioner_Swig/CTestTestfileInstall.cmake | 1 + src/RENUMBER_Swig/CTestTestfileInstall.cmake | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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() -- 2.39.2