22#ifndef __TESTHELPER_HXX__
23#define __TESTHELPER_HXX__
40 static std::string * smesh_root_dir;
41 if ( smesh_root_dir == NULL ) {
44 smesh_root_dir =
new std::string(
"<path_undefined>");
50 return *smesh_root_dir;
62 const char * cmd =
"/usr/bin/ssh claui2p1 -l boulant 'cd /tmp && ./runCommand_padder_Mon_Feb_28_14_28_36_2011.sh'";
63 int result = system(cmd);
static int testssh_using_system()
Definition: testhelper.hxx:61
static std::string PADDEREXE_APATH(SMESH_ROOT_DIR()+PADDEREXE_RPATH)
Absolute path of the directory containing data and exe for tests.
static std::string PADDEREXE_SCRIPT_FILENAME(PADDEREXE_APATH+"/padder.sh")
Absolute path of the exe shell script for tests.
static std::string PADDEREXE_RPATH("/share/salome/resources/smesh/padderexe")
Relative path of the directory containing data and exe for tests.
static std::string SMESH_ROOT_DIR()
This function returns the module SMESH installation root directory as a string.
Definition: testhelper.hxx:39