diff --git a/clang/test/Driver/lit.local.cfg b/clang/test/Driver/lit.local.cfg index a5078b58da84f..ff831e7fe4882 100644 --- a/clang/test/Driver/lit.local.cfg +++ b/clang/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/clang/test/Driver/opencl.cl b/clang/test/Driver/opencl.cl index 3fb332422d6a3..a2b05c931a894 100644 --- a/clang/test/Driver/opencl.cl +++ b/clang/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