mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
Improve "default_triple" specification: make it at the directory level for test/tools/llvm-mc
From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 247819
This commit is contained in:
parent
d43cc9f5ac
commit
11d1492eb8
@ -1,4 +1,3 @@
|
||||
# RUN: not llvm-mc %t.blah -o %t2 2>&1 | FileCheck --check-prefix=ENOENT %s
|
||||
# REQUIRES: default_triple
|
||||
|
||||
# ENOENT: {{.*}}.blah: {{[Nn]}}o such file or directory
|
||||
|
@ -1,6 +1,5 @@
|
||||
# RUN: not llvm-mc --fatal-warnings %s 2>&1 | FileCheck %s
|
||||
# XFAIL: hexagon
|
||||
# REQUIRES: default_triple
|
||||
|
||||
# CHECK: error: .warning directive invoked in source file
|
||||
.warning
|
||||
|
@ -1,2 +1 @@
|
||||
RUN: llvm-mc -disassemble %s
|
||||
# REQUIRES: default_triple
|
||||
|
@ -1,3 +1,4 @@
|
||||
if not config.target_triple:
|
||||
# Requires a non-empty default triple for these tests
|
||||
if 'default_triple' not in config.available_features:
|
||||
config.unsupported = True
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
# RUN: llvm-mc --no-warn %s 2>&1 | FileCheck %s
|
||||
# XFAIL: hexagon
|
||||
# REQUIRES: default_triple
|
||||
|
||||
# CHECK-NOT: warning:
|
||||
.warning
|
||||
|
Loading…
Reference in New Issue
Block a user