]> granicus.if.org Git - clang/commit
[OpenCL] In test/Driver/opencl.cl, don't require name of Clang binary to contain...
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 14 Jul 2016 15:06:57 +0000 (15:06 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 14 Jul 2016 15:06:57 +0000 (15:06 +0000)
commitde9868e9455732733e79aa125a02cf622e5d2048
treef88eb9f9af5fef268a342f9b60bcc6d2b8b13a7f
parentbb52c5f2b0a0fb74c90511a9daea7389ac7dbd9d
[OpenCL] In test/Driver/opencl.cl, don't require name of Clang binary to contain "clang"

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.

Patch by Martin Böhme!

Differential Revision: https://reviews.llvm.org/D22359

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275428 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/opencl.cl