Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.


That could easily double build cost. Most open-source package repositories are not exactly in a position to splurge on their build infra.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: