Skip to content

Draft: Parallelize src/test/test into chunks.

Nick Mathewson requested to merge nickm/tor:parallel_test_035 into maint-0.3.5

First, we introduce a flag to teach src/test/test to split its work into chunks. Then we replace our invocation of src/test/test in our "make check" target with a set of 8 scripts that invoke the first 8th of the tests, the second 8th, and so on.

This change makes our "make -kj4 check" target in our hardened gitlab build more than twice as fast, since src/test/test was taking the longest to finish.

Closes #40098 (closed).

Github CI at https://github.com/torproject/tor/pull/2064

Merge request reports