Integrate Bro script coverage profiling with the btest suite.

This commit is contained in:
Jon Siwek 2012-01-11 16:30:25 -06:00
parent 1181444f37
commit 9aefeec4ce
7 changed files with 75 additions and 14 deletions

7
testing/scripts/btest-bg-run Executable file
View file

@ -0,0 +1,7 @@
#! /usr/bin/env bash
# This is a wrapper script to btest's real btest-bg-run. It's used
# when collecting Bro script coverage statistics so that two independent
# Bro processing don't try to write those usage statistics to the same file.
BROFILER_FILE=`mktemp -t script-coverage` $BTEST_PATH/btest-bg-run $@