diff options
Diffstat (limited to 'test/Coverage')
-rw-r--r-- | test/Coverage/codegen-next.m | 12 | ||||
-rw-r--r-- | test/Coverage/html-diagnostics.c | 3 |
2 files changed, 13 insertions, 2 deletions
diff --git a/test/Coverage/codegen-next.m b/test/Coverage/codegen-next.m index 8f6645d..7b907fe 100644 --- a/test/Coverage/codegen-next.m +++ b/test/Coverage/codegen-next.m @@ -1,4 +1,12 @@ -// RUN: %clang_cc1 -emit-llvm -fobjc-exceptions -o %t %s -// RUN: %clang_cc1 -g -emit-llvm -fobjc-exceptions -o %t %s +// RUN: %clang_cc1 -emit-llvm -fobjc-exceptions -triple x86_64-apple-darwin -o %t %s +// RUN: %clang_cc1 -g -emit-llvm -fobjc-exceptions -triple x86_64-apple-darwin -o %t %s + +// An error could be seen for targeting x86_64-win32; +// +// Bitcast requires types of same width +// %7 = bitcast i32 %6 to i64 +// +// Then, This test should be excluded on x86_64-win32. +// REQUIRES: LP64 #include "objc-language-features.inc" diff --git a/test/Coverage/html-diagnostics.c b/test/Coverage/html-diagnostics.c index 4f1b0e3..410ee2a 100644 --- a/test/Coverage/html-diagnostics.c +++ b/test/Coverage/html-diagnostics.c @@ -2,6 +2,9 @@ // RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %t %s // RUN: cat %t/*.html | FileCheck %s +// Because of the glob (*.html) +// REQUIRES: shell + // CHECK: <h3>Annotated Source Code</h3> // Without tweaking expr, the expr would hit to the line below |