This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][TEST] Fix testing on macos
ClosedPublic

Authored by Amir on May 13 2022, 7:34 AM.

Details

Summary
  • Fix common (arch-independent) tests to explicitly target -linux triple.
  • Override the triple inside arch-specific tests.
  • Add cflags to common tests.
  • Update individual tests.
  • Expand pipe stderr |& shorthand.

Diff Detail

Event Timeline

Amir created this revision.May 13 2022, 7:34 AM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ayermolo. · View Herald Transcript
Amir updated this revision to Diff 429262.May 13 2022, 9:09 AM

Add missing -nostdlib to arch-independent tests

Amir edited the summary of this revision. (Show Details)May 13 2022, 9:10 AM
Amir edited the summary of this revision. (Show Details)
Amir published this revision for review.May 13 2022, 9:52 AM
Amir retitled this revision from [BOLT][TEST] Enable testing on macos to [BOLT][TEST] Fix testing on macos.
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2022, 9:52 AM
rafauler accepted this revision.May 13 2022, 11:29 AM

Thanks

This revision is now accepted and ready to land.May 13 2022, 11:29 AM
This revision was automatically updated to reflect the committed changes.
bolt/test/Inputs/stub.c