Merge remote-tracking branch 'origin/topic/jsiwek/brofiler'

* origin/topic/jsiwek/brofiler:
  Fix superfluous/duplicate data getting in to testing coverage log.
  Add "# @no-test" tag to blacklist statements from test coverage analysis.
  Test coverage integration for external tests and complete suite.
  Integrate Bro script coverage profiling with the btest suite.
  Add simple profiling class to accumulate Stmt usage stats across runs.

Renaming environment variable BROFILER_FILE to BRO_PROFILER_FILE for
consistency. Yeah, I know, such a nice name! :)
This commit is contained in:
Robin Sommer 2012-01-25 17:12:37 -08:00
commit 848ae2355e
20 changed files with 354 additions and 23 deletions

View file

@ -258,6 +258,8 @@ static BroFile* print_stdout = 0;
Val* PrintStmt::DoExec(val_list* vals, stmt_flow_type& /* flow */) const
{
RegisterAccess();
if ( ! print_stdout )
print_stdout = new BroFile(stdout);