mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18: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.
26 lines
615 B
Text
26 lines
615 B
Text
# @TEST-EXEC: unset BRO_DISABLE_BROXYGEN; bro -b -X broxygen.config %INPUT
|
|
# @TEST-EXEC: btest-diff autogen-reST-records.rst
|
|
|
|
@TEST-START-FILE broxygen.config
|
|
identifier TestRecord* autogen-reST-records.rst
|
|
@TEST-END-FILE
|
|
|
|
# undocumented record
|
|
type TestRecord1: record {
|
|
field1: bool;
|
|
field2: count;
|
|
};
|
|
|
|
## Here's the ways records and record fields can be documented.
|
|
type TestRecord2: record {
|
|
## document ``A``
|
|
A: count;
|
|
|
|
B: bool; ##< document ``B``
|
|
|
|
## and now ``C``
|
|
C: TestRecord1; ##< is a declared type
|
|
|
|
## sets/tables should show the index types
|
|
D: set[count, bool];
|
|
};
|