From: Benjamin Kramer Date: Thu, 30 Jun 2016 09:17:46 +0000 (+0000) Subject: Enable opencl driver tests, which never ran. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b24786a7a08be8c857e0435f5ef303f73dfa3bb5;p=clang Enable opencl driver tests, which never ran. 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 --- diff --git a/test/Driver/lit.local.cfg b/test/Driver/lit.local.cfg index a5078b58da..ff831e7fe4 100644 --- a/test/Driver/lit.local.cfg +++ b/test/Driver/lit.local.cfg @@ -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', diff --git a/test/Driver/opencl.cl b/test/Driver/opencl.cl index 3fb332422d..a2b05c931a 100644 --- a/test/Driver/opencl.cl +++ b/test/Driver/opencl.cl @@ -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