Page MenuHomePhabricator

Generate targets for each lit suite.
ClosedPublic

Authored by beanz on Mar 17 2015, 9:41 AM.

Details

Summary

This change makes CMake scan for lit suites and generate a target for each lit test suite. The targets follow the format check-<project>-<suite path>.

For example:
check-llvm-unit - Runs the LLVM unit tests
check-llvm-codegen-arm - Runs the ARM codeine tests

Note: These targets are not generated during multi-configuration generators (i.e. Xcode and Visual Studio) because target clutter impacts UI usability.

Diff Detail

Repository
rL LLVM

Event Timeline

beanz updated this revision to Diff 22098.Mar 17 2015, 9:41 AM
beanz retitled this revision from to Generate targets for each lit suite..
beanz updated this object.
beanz edited the test plan for this revision. (Show Details)
beanz added a reviewer: chandlerc.
beanz added a subscriber: Unknown Object (MLST).
filcab added a subscriber: filcab.Mar 17 2015, 10:31 AM

Looks good!
Will you be adding this to the other projects, btw? :-)

I was figuring I'd update clang and lld too, but I wasn't going to go further than that.

This revision was automatically updated to reflect the committed changes.