mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00

...at the same time, add some `TEST-REQUIRES: have-zeromq` which unfortunately means that developers will usually want libzmq installed on their system.
13 lines
590 B
Text
13 lines
590 B
Text
# Makes sure any given zeek script in the scripts/ tree can be loaded in
|
|
# bare mode without error.
|
|
#
|
|
# Commonly, this test may fail if one forgets to @load some base/ scripts
|
|
# when writing a new zeek scripts.
|
|
#
|
|
# Require Spicy, otherwise its scripts cannot be loaded.
|
|
# @TEST-REQUIRES: have-spicy
|
|
# @TEST-REQUIRES: have-zeromq
|
|
#
|
|
# @TEST-EXEC: test -d $DIST/scripts
|
|
# @TEST-EXEC: for script in `find $DIST/scripts/ -name \*\.zeek`; do zeek -b --parse-only $script >>errors 2>&1; done
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER="$SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-sort" btest-diff errors
|