views:

77

answers:

2

I want to be able to specify the file name stem for the log file in a Specman test. I need to hard-code the main *.elog filename so that I don't get variance between tests and confuse the post-processing scripts. Is there a constraint or command line I can pass into Specman?

A: 

You can control the *.elog filename with switch -log.

Ross Rogers
+1  A: 

You can also use specman command "set log " or use following code.

extend sys
{
     run() is also {
          specman("set log specman.elog");
     };
};
Sandeep Gor