mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
enabling sancov tests on linux x86_64 only
Differential Revision: http://reviews.llvm.org/D14728 llvm-svn: 253354
This commit is contained in:
parent
e780735f3d
commit
bc4d11920b
@ -275,6 +275,7 @@ for pattern in [r"\bbugpoint\b(?!-)",
|
||||
NOJUNK + r"\bopt\b",
|
||||
r"\bFileCheck\b",
|
||||
r"\bobj2yaml\b",
|
||||
NOJUNK + r"\bsancov\b",
|
||||
r"\byaml2obj\b",
|
||||
r"\byaml-bench\b",
|
||||
r"\bverify-uselistorder\b",
|
||||
@ -358,6 +359,8 @@ else:
|
||||
# Some tests are "generic" and require a valid default triple
|
||||
if config.target_triple:
|
||||
config.available_features.add("default_triple")
|
||||
if re.match(r'^x86_64.*-linux', config.target_triple):
|
||||
config.available_features.add("x86_64-linux")
|
||||
|
||||
# Native compilation: host arch == default triple arch
|
||||
# FIXME: Consider cases that target can be executed
|
||||
|
@ -1,3 +1,4 @@
|
||||
REQUIRES: x86_64-linux
|
||||
RUN: sancov -obj %p/Inputs/test-linux_x86_64 -covered_functions %p/Inputs/test-linux_x86_64.sancov | FileCheck %s
|
||||
RUN: sancov -obj %p/Inputs/test-linux_x86_64 -covered_functions %p/Inputs/test-linux_x86_64-1.sancov | FileCheck --check-prefix=MULTIPLE_FILES %s
|
||||
RUN: sancov -obj %p/Inputs/test-linux_x86_64 -demangle=0 -covered_functions %p/Inputs/test-linux_x86_64.sancov | FileCheck --check-prefix=NO_DEMANGLE %s
|
@ -1,3 +1,4 @@
|
||||
REQUIRES: x86_64-linux
|
||||
RUN: sancov -obj %p/Inputs/test-linux_x86_64 -print %p/Inputs/test-linux_x86_64.sancov | FileCheck %s
|
||||
|
||||
CHECK: 0x4db18b
|
Loading…
Reference in New Issue
Block a user