mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00

Disable broxygen when running unit tests (except for the tests that use broxygen). On my dual-core MacBook Pro, this change results in the unit tests taking about 13% less time to finish running.
14 lines
558 B
Text
14 lines
558 B
Text
# This test is mostly just checking that there's no errors that result
|
|
# from loading all scripts and generated docs for each.
|
|
|
|
# This must be serialized with communication tests because it does load
|
|
# listen.bro in order to document it.
|
|
|
|
# @TEST-SERIALIZE: comm
|
|
# @TEST-EXEC: unset BRO_DISABLE_BROXYGEN; bro -X broxygen.config broxygen DumpEvents::include=/NOTHING_MATCHES/
|
|
# @TEST-EXEC: btest-diff .stdout
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderr
|
|
|
|
@TEST-START-FILE broxygen.config
|
|
script * scripts/
|
|
@TEST-END-FILE
|