summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2015-08-04 06:32:54 +0000
committerMehdi Amini <mehdi.amini@apple.com>2015-08-04 06:32:54 +0000
commitc8d578311473fceb50579906658b0c017ef5b193 (patch)
treef9637af959478f6a899c2b359910f7697e76c91d /llvm/test/tools
parent63c3989f6a39034d1ca0f8ecbd35f79606147746 (diff)
downloadbcm5719-llvm-c8d578311473fceb50579906658b0c017ef5b193.tar.gz
bcm5719-llvm-c8d578311473fceb50579906658b0c017ef5b193.zip
Update test suite to make "ninja check" succeed without native backend builtin
Requires "native" feature in most places that were failing. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 243960
Diffstat (limited to 'llvm/test/tools')
-rw-r--r--llvm/test/tools/llvm-mc/fatal_warnings.test1
-rw-r--r--llvm/test/tools/llvm-mc/line_end_with_space.test2
-rw-r--r--llvm/test/tools/llvm-mc/no_warnings.test1
-rw-r--r--llvm/test/tools/lto/opt-level.ll1
4 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-mc/fatal_warnings.test b/llvm/test/tools/llvm-mc/fatal_warnings.test
index df73ad8b7cf..e4dde48ee8d 100644
--- a/llvm/test/tools/llvm-mc/fatal_warnings.test
+++ b/llvm/test/tools/llvm-mc/fatal_warnings.test
@@ -1,5 +1,6 @@
# RUN: not llvm-mc --fatal-warnings %s 2>&1 | FileCheck %s
# XFAIL: hexagon
+# REQUIRES: native
# CHECK: error: .warning directive invoked in source file
.warning
diff --git a/llvm/test/tools/llvm-mc/line_end_with_space.test b/llvm/test/tools/llvm-mc/line_end_with_space.test
index 2ce313990af..0967d6afa97 100644
--- a/llvm/test/tools/llvm-mc/line_end_with_space.test
+++ b/llvm/test/tools/llvm-mc/line_end_with_space.test
@@ -1,2 +1,2 @@
RUN: llvm-mc -disassemble %s
- \ No newline at end of file
+# REQUIRES: native
diff --git a/llvm/test/tools/llvm-mc/no_warnings.test b/llvm/test/tools/llvm-mc/no_warnings.test
index f542f1773c0..031da4896f2 100644
--- a/llvm/test/tools/llvm-mc/no_warnings.test
+++ b/llvm/test/tools/llvm-mc/no_warnings.test
@@ -1,5 +1,6 @@
# RUN: llvm-mc --no-warn %s 2>&1 | FileCheck %s
# XFAIL: hexagon
+# REQUIRES: native
# CHECK-NOT: warning:
.warning
diff --git a/llvm/test/tools/lto/opt-level.ll b/llvm/test/tools/lto/opt-level.ll
index 07bf48d6caf..7bce0c606c4 100644
--- a/llvm/test/tools/lto/opt-level.ll
+++ b/llvm/test/tools/lto/opt-level.ll
@@ -3,6 +3,7 @@
; RUN: llvm-nm -no-llvm-bc %t.dylib | FileCheck --check-prefix=CHECK-O0 %s
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -O2 -o %t.dylib %t.o
; RUN: llvm-nm -no-llvm-bc %t.dylib | FileCheck --check-prefix=CHECK-O2 %s
+; REQUIRES: X86
target triple = "x86_64-apple-macosx10.8.0"
OpenPOWER on IntegriCloud