[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)
commit09a9c5537d582a11ffebb6be6466ec29d9f32d81
treee18a79d4b05e8e12cf8fcc0a2a8f3bc9737c8687
parent85dc93c56b39f400dcf6992bd9effac3d4bf6a90
[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

llvm-svn: 275428
clang/test/Driver/opencl.cl