This is an archive of the discontinued LLVM Phabricator instance.

Skip core file tests on build configurations lacking necessary components
ClosedPublic

Authored by labath on Jun 27 2018, 5:56 AM.

Details

Summary

To successfully open a core file, we need to have LLVM built with
support for the relevant target. Right now, if one does not have the
appropriate targets configured, the tests will fail.

This patch uses the GetBuildConfiguration SB API to inform the test (and
anyone else who cares) about the list of supported LLVM targets. The
test then uses this information to approriately skip the tests.

Event Timeline

labath created this revision.Jun 27 2018, 5:56 AM
clayborg accepted this revision.Jun 27 2018, 7:28 AM
This revision is now accepted and ready to land.Jun 27 2018, 7:28 AM
This revision was automatically updated to reflect the committed changes.