Enable opencl driver tests, which never ran.

Then mark it as XFAIL because it always fails. I'll let OpenCL people
figure this out.

llvm-svn: 274221
This commit is contained in:
Benjamin Kramer 2016-06-30 09:17:46 +00:00
parent 8c6538b86d
commit 0048964d84
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
config.suffixes = ['.c', '.cpp', '.h', '.m', '.mm', '.S', '.s', '.f90', '.f95', config.suffixes = ['.c', '.cpp', '.h', '.m', '.mm', '.S', '.s', '.f90', '.f95',
'.cu', '.rs'] '.cu', '.rs', '.cl']
config.substitutions = list(config.substitutions) config.substitutions = list(config.substitutions)
config.substitutions.insert(0, config.substitutions.insert(0,
('%clang_cc1', ('%clang_cc1',

View File

@ -1,3 +1,4 @@
// XFAIL: *
// RUN: %clang -S -### -cl-std=CL %s | FileCheck --check-prefix=CHECK-CL %s // 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.1 %s | FileCheck --check-prefix=CHECK-CL11 %s
// RUN: %clang -S -### -cl-std=CL1.2 %s | FileCheck --check-prefix=CHECK-CL12 %s // RUN: %clang -S -### -cl-std=CL1.2 %s | FileCheck --check-prefix=CHECK-CL12 %s