This is an archive of the discontinued LLVM Phabricator instance.

[test] Fix baremetal test to allow any -resource-dir
ClosedPublic

Authored by mgorny on Jun 4 2017, 3:36 AM.

Details

Summary

The baremetal test (r303873) has been added with expectance of very
specific -resource-dir. However, the test itself nor the BareMetal
driver does not enforce any specific -resource-dir, making this
constraint invalid. It already has been altered twice -- in r303910 for
Windows compatibility, and in r304085 for systems using lib64. To
account for even more systems, just use [[RESOURCE_DIR]] like a number
of other tests do. This is needed for Gentoo where RESOURCE_DIR starts
with ../ (uses relative path to a parent directory).

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny created this revision.Jun 4 2017, 3:36 AM
jroelofs accepted this revision.Jun 5 2017, 7:08 AM

LGTM... thank you!

This revision is now accepted and ready to land.Jun 5 2017, 7:08 AM
This revision was automatically updated to reflect the committed changes.