summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-08-10 19:03:18 +0000
committerReid Kleckner <rnk@google.com>2016-08-10 19:03:18 +0000
commit260ac88cd46ba57ea0c42e37b977d517fd9aa559 (patch)
tree06b524c9d742a64e62baf149206a01fb6058f6af /llvm/test/tools
parent5ccc85fe83500cd9c54dd4dfb5fd3cad761d4830 (diff)
downloadbcm5719-llvm-260ac88cd46ba57ea0c42e37b977d517fd9aa559.tar.gz
bcm5719-llvm-260ac88cd46ba57ea0c42e37b977d517fd9aa559.zip
[sancov] Run more sancov tests on non-x86-Linux machines
Add the $arch-registered-target features that clang uses to disable tests that require a registered backend, so that we can run the sancov tests on Windows. LLVM's lit suite did not appear to have a per-test way to do this, and I would rather not split up the sancov tests into architecture directories. Split out of https://reviews.llvm.org/D23321 llvm-svn: 278271
Diffstat (limited to 'llvm/test/tools')
-rw-r--r--llvm/test/tools/sancov/print.test2
-rw-r--r--llvm/test/tools/sancov/print_coverage_pcs.test2
-rw-r--r--llvm/test/tools/sancov/stats.test2
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/tools/sancov/print.test b/llvm/test/tools/sancov/print.test
index fe94216b051..f0520aead4e 100644
--- a/llvm/test/tools/sancov/print.test
+++ b/llvm/test/tools/sancov/print.test
@@ -1,4 +1,4 @@
-REQUIRES: x86_64-linux
+REQUIRES: x86-registered-target
RUN: sancov -print %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
CHECK: 0x4e132b
diff --git a/llvm/test/tools/sancov/print_coverage_pcs.test b/llvm/test/tools/sancov/print_coverage_pcs.test
index 2756eb03ba0..8a86c4fa1ea 100644
--- a/llvm/test/tools/sancov/print_coverage_pcs.test
+++ b/llvm/test/tools/sancov/print_coverage_pcs.test
@@ -1,4 +1,4 @@
-REQUIRES: x86_64-linux
+REQUIRES: x86-registered-target
RUN: sancov -print-coverage-pcs %p/Inputs/test-linux_x86_64 | FileCheck %s
CHECK: 0x4e132b
diff --git a/llvm/test/tools/sancov/stats.test b/llvm/test/tools/sancov/stats.test
index 05e712b0bde..eaf33cf61ad 100644
--- a/llvm/test/tools/sancov/stats.test
+++ b/llvm/test/tools/sancov/stats.test
@@ -1,4 +1,4 @@
-REQUIRES: x86_64-linux
+REQUIRES: x86-registered-target
RUN: sancov -print-coverage-stats %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
CHECK: all-edges: 9
OpenPOWER on IntegriCloud