cwFlowTest.cpp : Added 'compare' as a command line arg. and removed it as a system param.
This commit is contained in:
parent
d90a3c31da
commit
a09ca54315
@ -235,9 +235,13 @@ cw::rc_t cw::flow::test( const object_t* cfg, int argc, const char* argv[] )
|
||||
goto errLabel;
|
||||
}
|
||||
|
||||
// was 'compare' requested
|
||||
if( argc > 2 && textLength(argv[2])!=0 and textIsEqual(argv[2],"compare") )
|
||||
cmp_enable_fl = true;
|
||||
|
||||
|
||||
// get the subnet cfg filename
|
||||
if((rc = cfg->getv_opt("subnet_cfg_fname",subnet_cfg_fname,
|
||||
"cmp_enable_fl", cmp_enable_fl,
|
||||
"test_ref_dir",test_ref_dir)) != kOkRC )
|
||||
{
|
||||
rc = cwLogError(rc,"The name of the subnet file could not be parsed.");
|
||||
|
Loading…
Reference in New Issue
Block a user