${PTHREAD_LIBRARIES}
YACSlibEngine
YACSBases
+ SALOMEBasics
)
# additional preprocessor / compiler flags
INSTALL(TARGETS IntegrationTestEngine DESTINATION ${LOCAL_TEST_DIR})
INSTALL(FILES CTestTestfileInstall.cmake
DESTINATION ${LOCAL_TEST_DIR}
- RENAME CTestTestfile.cmake)
\ No newline at end of file
+ RENAME CTestTestfile.cmake)
#include <list>
#include <vector>
#include <string.h>
-#ifdef WIN32
-#include <stdlib.h>
-#else
-#include <unistd.h>
-#endif
+#include "Basics_DirUtils.hxx"
//#define _DEVDEBUG_
#include "YacsTrace.hxx"
DEBTRACE(" output port name for graphe = " << _nodeMap["graphe"]->getOutPortName(*it));
}
YACS::ENGINE::VisitorSaveState vst(_compoMap["graphe"]);
-#ifdef WIN32
- std::string logDir=getenv("SALOME_TMP_DIR");
- logDir += "\\";
-#else
- std::string logDir = std::string("/tmp/")+ getlogin();
- std::string cmd = "mkdir -p " + logDir;
- system( cmd.c_str() );
- logDir += "/";
-#endif
- vst.openFileDump(logDir + std::string("RecursiveBlocs_multipleRecursion_dumpState.xml"));
+ std::string dumpFilePath = Kernel_Utils::GetTmpDir() + "RecursiveBlocs.xml";
+ vst.openFileDump(dumpFilePath);
_compoMap["graphe"]->accept(&vst);
vst.closeFileDump();
}