From: Hanoh Haim Date: Sat, 24 Dec 2016 19:38:50 +0000 (+0200) Subject: sim stateful works now X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=a4393f108396bc315e8317eed964324739cf6cdd;p=trex.git sim stateful works now Signed-off-by: Hanoh Haim --- diff --git a/src/main.cpp b/src/main.cpp index de6cef45..15bd99dd 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -289,12 +289,14 @@ int main(int argc , char * argv[]){ case OPT_TYPE_SF: { SimStateful sf; + CGlobalInfo::m_options.m_run_mode = CParserOption::RUN_MODE_BATCH; return sf.run(); } case OPT_TYPE_SL: { SimStateless &st = SimStateless::get_instance(); + CGlobalInfo::m_options.m_run_mode = CParserOption::RUN_MODE_INTERACTIVE; if (params.count("dp_core_count") == 0) { params["dp_core_count"] = 1;