This is an archive of the discontinued LLVM Phabricator instance.

[test-suite] Disable XRay tests if unavailable.
ClosedPublic

Authored by Meinersbur on Jul 20 2021, 6:18 PM.

Details

Summary

In addition to testing the -fxray-instrument command-line flag, test the availability of the XRay headers. The headers are unavailable if e.g. clang is compiled without compiler-rt.

Also move all introspection tests into the parent XRay directory since they are the same for both tests.

Diff Detail

Repository
rT test-suite

Event Timeline

Meinersbur created this revision.Jul 20 2021, 6:18 PM

(The official documentation uses XRay instead of X-Ray)

  • Rename include introspection variable.
  • Rename X-Ray to XRay
Meinersbur retitled this revision from [test-suite] Disable X-Ray tests if unavailable. to [test-suite] Disable XRay tests if unavailable..Jul 20 2021, 6:29 PM
Meinersbur edited the summary of this revision. (Show Details)
MaskRay accepted this revision.Jul 20 2021, 6:35 PM

LGTM.

This revision is now accepted and ready to land.Jul 20 2021, 6:35 PM
This revision was automatically updated to reflect the committed changes.