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

This patch changes invocations of `spicyz` and similar Spicy tools in tests which perform compilation to use debug mode via passing `-d`. This in turn leads to Spicy compiling generated C++ code in debug as opposed to release mode which typically seems to require less CPU time and RAM. For a local test running with `btest -j 16` and no caching via `HILTI_CXX_COMPILER_LAUNCER` this sped up running of BTests under `spicy/` by about 40s on my machine (120s vs 160s).
22 lines
461 B
Text
22 lines
461 B
Text
# @TEST-REQUIRES: have-spicy
|
|
#
|
|
# @TEST-EXEC-FAIL: spicyz %INPUT -d -o x.hlto >output 2>&1
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=diff-canonifier-spicy btest-diff output
|
|
|
|
protocol analyzer spicy::SSH over TCP:
|
|
port 123456/udp;
|
|
|
|
@TEST-START-NEXT
|
|
|
|
protocol analyzer spicy::SSH over TCP:
|
|
port -1/udp;
|
|
|
|
@TEST-START-NEXT
|
|
|
|
protocol analyzer spicy::SSH over TCP:
|
|
port 1/udp-2/tcp;
|
|
|
|
@TEST-START-NEXT
|
|
|
|
protocol analyzer spicy::SSH over TCP:
|
|
port 2/udp-1/udp;
|