Lurker News
Back to discussion

Comment by londons_explore

londons_explore2 replies#
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#
That could easily double build cost. Most open-source package repositories are not exactly in a position to splurge on their build infra.
hanwenn#
In 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.