3 ms·
testdata should not be on the same machine as the build is done. testdata (and tests generally) aren't as well audited, and therefore shouldn't be allowed to
by londons_explore 3y ago
testdata should not be on the same machine as the build is done. testdata (and tests generally) aren't as well audited, and therefore shouldn't be allowed to leak into the finished product.
Sure - you want to test stuff, but that can be done with a special "test build" in it's own VM.
- Hackbraten 3y agoThat could easily double build cost. Most open-source package repositories are not exactly in a position to splurge on their build infra.
- hanwenn 3y agoIn the Bazel build system, you would mark the test data blob as testonly=1. Then the build system guarantees that the blob can only be used in tests. This incident shows that killing the autoconf goop is long overdue.