zeek/testing/btest/doc/broxygen/all_scripts.test
Daniel Thayer 7b3bad635b Disable broxygen when running unit tests
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.
2018-06-19 16:30:40 -05:00

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