mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
updates to C++ maintenance scripts to better handle uncompilable BTests
This commit is contained in:
parent
c173cfdbe7
commit
7d7a293c04
3 changed files with 18 additions and 45 deletions
|
@ -21,6 +21,7 @@ base=$(echo $1 | sed 's,\.\./,,;s,/,#,g')
|
|||
rel_test=$(echo $1 | sed 's,.*testing/btest/,,')
|
||||
|
||||
export ZEEK_GEN_CPP=1
|
||||
export ZEEK_REPORT_UNCOMPILABLE=1
|
||||
export ZEEK_CPP_DIR=$(pwd)
|
||||
# export ZEEK_OPT_FUNCS="<global-stmts>"
|
||||
export ZEEK_OPT_FILES="testing/btest"
|
||||
|
@ -31,7 +32,7 @@ export ZEEK_OPT_FILES="testing/btest"
|
|||
)
|
||||
|
||||
# export -n ZEEK_GEN_CPP ZEEK_CPP_DIR ZEEK_OPT_FUNCS ZEEK_OPT_FILES
|
||||
export -n ZEEK_GEN_CPP ZEEK_CPP_DIR ZEEK_OPT_FILES
|
||||
export -n ZEEK_GEN_CPP ZEEK_REPORT_UNCOMPILABLE ZEEK_CPP_DIR ZEEK_OPT_FILES
|
||||
|
||||
ninja
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue