Salome HOME
Merge branch 'agr/medcoupling_tool'
[tools/medcoupling.git] / src / MEDPartitioner / Test / MEDPARTITIONERTestPara.cxx
index c38d51755ae558fce2c99e5af0d9d070d53c1d73..866409f0e94aef10d6c5f00f1f106f64d07c067f 100644 (file)
@@ -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;
 }