mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Fix script_opt/cpp test scripts to work correctly on all platforms
This commit is contained in:
parent
c9f6b3463f
commit
067bbf82fb
4 changed files with 6 additions and 6 deletions
|
@ -7,10 +7,10 @@ cp zeek.HOLD src/zeek || (
|
|||
exit 1
|
||||
) || exit 1
|
||||
|
||||
if [ "$1" == "-U" ]; then
|
||||
if [ "$1" = "-U" ]; then
|
||||
btest_opt=-U
|
||||
shift
|
||||
elif [ "$1" == "-d" ]; then
|
||||
elif [ "$1" = "-d" ]; then
|
||||
btest_opt=-d
|
||||
shift
|
||||
else
|
||||
|
@ -32,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_REPORT_UNCOMPILABLE ZEEK_CPP_DIR ZEEK_OPT_FILES
|
||||
unset ZEEK_GEN_CPP ZEEK_REPORT_UNCOMPILABLE ZEEK_CPP_DIR ZEEK_OPT_FILES
|
||||
|
||||
ninja
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue