Build systems are tested by CompileBench (Quesma's benchmark).

Disclaimer: I'm the founder.