mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Parallelize coverage/bare-mode-errors
Currently, coverage/bare-mode-errors is one of the slowest tests in the entire test suite. This is caused by the fact that it has to repeatedly launch Zeek for every script that we ship. This is done sequentially. This commit changes this test to use xargs to spawn 20 parallell processes.
This commit is contained in:
parent
fd98958b92
commit
c51998361c
1 changed files with 1 additions and 1 deletions
|
@ -9,5 +9,5 @@
|
||||||
# @TEST-REQUIRES: have-zeromq
|
# @TEST-REQUIRES: have-zeromq
|
||||||
#
|
#
|
||||||
# @TEST-EXEC: test -d $DIST/scripts
|
# @TEST-EXEC: test -d $DIST/scripts
|
||||||
# @TEST-EXEC: for script in `find $DIST/scripts/ -name \*\.zeek`; do zeek -b --parse-only $script >>errors 2>&1; done
|
# @TEST-EXEC: find $DIST/scripts/ -name "*.zeek" -print0 | xargs -0 -n1 -P 20 -- zeek -b --parse-only >>errors 2>&1
|
||||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER="$SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-sort" btest-diff errors
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER="$SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-sort" btest-diff errors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue