Add btest that runs the doctest-based unit tests.

Closes #2267.
This commit is contained in:
Robin Sommer 2022-07-19 11:35:09 +02:00
parent 42c36019e6
commit 202037181c

View file

@ -0,0 +1,7 @@
# @TEST-REQUIRES: zeek --test -h >/dev/null
# @TEST-EXEC: ZEEK_SEED_FILE= zeek --test >&2
#
# @TEST-DOC: Run the doctest-based unit tests.
#
# Note that we need to clear the hash seed as the units tests seem to make
# some assumptions about ordering that the custom seed breaks.