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
This commit is contained in:
Mehdi Amini 2015-08-04 06:32:54 +00:00
parent 63c3989f6a
commit c8d5783114
17 changed files with 21 additions and 8 deletions

View File

@ -0,0 +1,3 @@
if 'native' not in config.available_features:
config.unsupported = True

View File

@ -0,0 +1,3 @@
if 'native' not in config.available_features:
config.unsupported = True

View File

@ -4,7 +4,7 @@
; RUN: llc -O3 -debug %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=LLC-Ox
; RUN: llc -misched-postra -debug %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=LLC-MORE
; REQUIRES: asserts
; REQUIRES: asserts, native
; This test verifies that we don't run Machine Function optimizations
; on optnone functions.

View File

@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; REQUIRE: native
; Check for the presence of attribute optnone in the disassembly.

View File

@ -1,3 +1,4 @@
; REQUIRES: native
; RUN: llvm-link %s %S/Inputs/subprogram-linkonce-weak-odr.ll -S -o %t1
; RUN: FileCheck %s -check-prefix=LW -check-prefix=CHECK <%t1
; RUN: llvm-link %S/Inputs/subprogram-linkonce-weak-odr.ll %s -S -o %t2

View File

@ -1,3 +1,4 @@
; REQUIRES: native
; RUN: llvm-link %s %S/Inputs/subprogram-linkonce-weak.ll -S -o %t1
; RUN: FileCheck %s -check-prefix=LW -check-prefix=CHECK <%t1
; RUN: llvm-link %S/Inputs/subprogram-linkonce-weak.ll %s -S -o %t2

View File

@ -1,4 +1,4 @@
; REQUIRES: object-emission
; REQUIRES: object-emission, native
;
; RUN: llvm-link %s %p/type-unique-odr-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -debug-dump=info - | FileCheck %s
;

View File

@ -1,4 +1,4 @@
; REQUIRES: object-emission
; REQUIRES: object-emission, native
; RUN: llvm-link %s %p/type-unique-simple-b.ll -S -o %t
; RUN: cat %t | FileCheck %s -check-prefix=LINK

View File

@ -1,4 +1,4 @@
; REQUIRES: object-emission
; REQUIRES: object-emission, native
;
; RUN: llvm-link %s %p/type-unique-simple2-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -debug-dump=info - | FileCheck %s
;

View File

@ -1,4 +1,4 @@
; REQUIRES: object-emission
; REQUIRES: object-emission; native
; RUN: llvm-link %S/Inputs/type-unique-simple2-a.ll %S/Inputs/type-unique-simple2-b.ll -S -o %t
; RUN: cat %t | FileCheck %S/Inputs/type-unique-simple2-a.ll -check-prefix=LINK

View File

@ -1,4 +1,4 @@
; REQUIRES: object-emission
; REQUIRES: object-emission, native
;
; RUN: llvm-link %s %p/type-unique-type-array-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -debug-dump=info - | FileCheck %s
;

View File

@ -1,3 +1,4 @@
; REQUIRES: native
; RUN: llc -O2 -print-after-all < %s 2>/dev/null
define void @tester(){

View File

@ -1,5 +1,5 @@
; RUN: opt < %s -O3 | llc -no-integrated-as | FileCheck %s
; REQUIRES: X86
;; We don't want branch folding to fold asm directives.
; CHECK: bork_directive

View File

@ -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

View File

@ -1,2 +1,2 @@
RUN: llvm-mc -disassemble %s
# REQUIRES: native

View File

@ -1,5 +1,6 @@
# RUN: llvm-mc --no-warn %s 2>&1 | FileCheck %s
# XFAIL: hexagon
# REQUIRES: native
# CHECK-NOT: warning:
.warning

View File

@ -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"