This is an archive of the discontinued LLVM Phabricator instance.

[OpenCL] In test/Driver/opencl.cl, don't require name of Clang binary to contain "clang"
ClosedPublic

Authored by mboehme on Jul 14 2016, 8:06 AM.

Details

Summary

The test currently fails if the name of the Clang binary doesn't contain "clang".

This patch removes that requirement, as some environments may choose to run the test with a differently named binary. This shouldn't make the test any less strict -- the only place where the flags we're searching for can really occur is the Clang command line.

Diff Detail

Repository
rL LLVM

Event Timeline

mboehme updated this revision to Diff 63976.Jul 14 2016, 8:06 AM
mboehme retitled this revision from to [OpenCL] In test/Driver/opencl.cl, don't require name of Clang binary to contain "clang".
mboehme updated this object.
mboehme added a reviewer: bkramer.
mboehme added a subscriber: cfe-commits.
bkramer accepted this revision.Jul 14 2016, 8:13 AM
bkramer edited edge metadata.
This revision is now accepted and ready to land.Jul 14 2016, 8:13 AM
This revision was automatically updated to reflect the committed changes.