]> granicus.if.org Git - clang/commitdiff
Enable opencl driver tests, which never ran.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 30 Jun 2016 09:17:46 +0000 (09:17 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 30 Jun 2016 09:17:46 +0000 (09:17 +0000)
Then mark it as XFAIL because it always fails. I'll let OpenCL people
figure this out.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274221 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/lit.local.cfg
test/Driver/opencl.cl

index a5078b58da84f7a6737e51ac079c2f5379d19c26..ff831e7fe488208f4008e008bf9682f3698d55ba 100644 (file)
@@ -1,5 +1,5 @@
 config.suffixes = ['.c', '.cpp', '.h', '.m', '.mm', '.S', '.s', '.f90', '.f95',
-                   '.cu', '.rs']
+                   '.cu', '.rs', '.cl']
 config.substitutions = list(config.substitutions)
 config.substitutions.insert(0,
     ('%clang_cc1',
index 3fb332422d6a3650e27685c0498ebc9c77f4f63f..a2b05c931a894abe44c079b8d9939df207f0a302 100644 (file)
@@ -1,3 +1,4 @@
+// XFAIL: *
 // RUN: %clang -S -### -cl-std=CL %s | FileCheck --check-prefix=CHECK-CL %s
 // RUN: %clang -S -### -cl-std=CL1.1 %s | FileCheck --check-prefix=CHECK-CL11 %s
 // RUN: %clang -S -### -cl-std=CL1.2 %s | FileCheck --check-prefix=CHECK-CL12 %s