mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
Changes to how script coverage integrates with test suites.
- BRO_PROFILER_FILE now passes .X* templated filenames to mkstemp for generating unique coverage state files. All test suites now use this so each Bro instance writes to a unique coverage file. - Rearranging Makefile targets. The general rule is that if the all/brief target fails out due to a test failure, then the dependent coverage target won't run, but can still be invoked directly later. (e.g. make brief || make coverage)
This commit is contained in:
parent
92ed583ee7
commit
ef5e9caaf4
8 changed files with 56 additions and 17 deletions
|
@ -1,7 +0,0 @@
|
|||
#! /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.
|
||||
|
||||
BRO_PROFILER_FILE=`mktemp $TMPDIR/script-coverage.XXXX` $BTEST_PATH/btest-bg-run $@
|
Loading…
Add table
Add a link
Reference in a new issue