From 202037181c20838a523b26662fc95121f3f0130a Mon Sep 17 00:00:00 2001 From: Robin Sommer Date: Tue, 19 Jul 2022 11:35:09 +0200 Subject: [PATCH] Add btest that runs the doctest-based unit tests. Closes #2267. --- testing/btest/core/doctest.zeek | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 testing/btest/core/doctest.zeek diff --git a/testing/btest/core/doctest.zeek b/testing/btest/core/doctest.zeek new file mode 100644 index 0000000000..59c9eef30a --- /dev/null +++ b/testing/btest/core/doctest.zeek @@ -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.