mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +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.
24 lines
606 B
Text
24 lines
606 B
Text
# @TEST-EXEC: unset BRO_DISABLE_BROXYGEN; bro -b -X broxygen.config %INPUT
|
|
# @TEST-EXEC: btest-diff autogen-reST-func-params.rst
|
|
|
|
@TEST-START-FILE broxygen.config
|
|
identifier test_func_params* autogen-reST-func-params.rst
|
|
@TEST-END-FILE
|
|
|
|
## This is a global function declaration.
|
|
##
|
|
## i: First param.
|
|
## j: Second param.
|
|
##
|
|
## Returns: A string.
|
|
global test_func_params_func: function(i: int, j: int): string;
|
|
|
|
type test_func_params_rec: record {
|
|
## This is a record field function.
|
|
##
|
|
## i: First param.
|
|
## j: Second param.
|
|
##
|
|
## Returns: A string.
|
|
field_func: function(i: int, j: int): string;
|
|
};
|