TestEGk 1.5a2 : Piccole migliorie.
This commit is contained in:
+7
-4
@@ -52,13 +52,16 @@ TegExecutor::Execute( const string& sCmd1, const string& sCmd2, const STRVECTOR&
|
||||
|
||||
|
||||
// output di debug
|
||||
sOut = "Cmd = [" + sCmd1 + "][" + sCmd2 + "] Par = [" ;
|
||||
sOut = sCmd1 ;
|
||||
if ( ! sCmd2.empty())
|
||||
sOut += "." + sCmd2 ;
|
||||
sOut += "( " ;
|
||||
for ( theConstIter = vsParams.begin() ; theConstIter != vsParams.end() ; ++theConstIter) {
|
||||
if ( theConstIter != vsParams.begin())
|
||||
sOut += "][" ;
|
||||
sOut += ", " ;
|
||||
sOut += *theConstIter ;
|
||||
}
|
||||
sOut += "]" ;
|
||||
sOut += ")" ;
|
||||
LOG_DBG_INFO( m_pLogger, sOut.c_str())
|
||||
|
||||
// esecuzione comando
|
||||
@@ -112,7 +115,7 @@ TegExecutor::ExecuteRun( const string& sCmd2, const STRVECTOR& vsParams)
|
||||
SetEGkLogger( m_pLogger) ;
|
||||
pGdb->Init() ;
|
||||
pGdbExec->Init( Get( pGdb)) ;
|
||||
if ( ! pCmdParser->Init( vsParams[0], Get( pGdbExec), m_pLogger)) {
|
||||
if ( ! pCmdParser->Init( vsParams[0], Get( pGdbExec), m_pLogger, 1)) {
|
||||
string sOut = "Error on Parser.Init (" + vsParams[0] + ")" ;
|
||||
LOG_ERROR( m_pLogger, sOut.c_str())
|
||||
return false ;
|
||||
|
||||
Reference in New Issue
Block a user