X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDPartitioner%2FTest%2FMEDPARTITIONERTestPara.cxx;h=866409f0e94aef10d6c5f00f1f106f64d07c067f;hb=56e7b97b6270ad0b2d523070f937e0b8ebae0d30;hp=c38d51755ae558fce2c99e5af0d9d070d53c1d73;hpb=586a7f0f6d8d1592a9547b15d1caac905cb1b053;p=tools%2Fmedcoupling.git diff --git a/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx b/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx index c38d51755..866409f0e 100644 --- a/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx +++ b/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx @@ -53,9 +53,9 @@ using namespace MEDPARTITIONER; std::string MEDPARTITIONERTest::getPartitionerParaExe() const { std::string execName; - if ( getenv("MEDTOOL_ROOT_DIR") ) + if ( getenv("MEDCOUPLING_ROOT_DIR") ) { - execName=getenv("MEDTOOL_ROOT_DIR"); //.../INSTALL/MED + execName=getenv("MEDCOUPLING_ROOT_DIR"); //.../INSTALL/MED execName+="/bin/medpartitioner_para"; } else @@ -63,7 +63,7 @@ std::string MEDPARTITIONERTest::getPartitionerParaExe() const execName = get_current_dir_name(); execName += "/../../MEDPartitioner/medpartitioner_para"; if (! std::ifstream(execName.c_str())) - CPPUNIT_FAIL("Can't find medpartitioner_para, please set MEDTOOL_ROOT_DIR"); + CPPUNIT_FAIL("Can't find medpartitioner_para, please set MEDCOUPLING_ROOT_DIR"); } return execName; }