mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48: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.
20 lines
604 B
Text
20 lines
604 B
Text
# @TEST-EXEC: unset BRO_DISABLE_BROXYGEN; bro -b -X broxygen.config %INPUT
|
|
# @TEST-EXEC: btest-diff autogen-reST-vectors.rst
|
|
|
|
@TEST-START-FILE broxygen.config
|
|
identifier test_vector* autogen-reST-vectors.rst
|
|
@TEST-END-FILE
|
|
|
|
type TestRecord: record {
|
|
field1: bool;
|
|
field2: count;
|
|
};
|
|
|
|
## Yield type is documented/cross-referenced for primitize types.
|
|
global test_vector0: vector of string;
|
|
|
|
## Yield type is documented/cross-referenced for composite types.
|
|
global test_vector1: vector of TestRecord;
|
|
|
|
## Just showing an even fancier yield type.
|
|
global test_vector2: vector of vector of TestRecord;
|