summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-06-04 03:28:27 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-06-04 03:28:27 +0000
commit57cd7ef1c96fa98e37085f211f20e1c7d52000b9 (patch)
treea1d188e04ed56f645c2bfc4c610a359c55bf1f32 /llvm/test
parentada78feb08e1924c4f18fa91b6f30627733a4aba (diff)
downloadbcm5719-llvm-57cd7ef1c96fa98e37085f211f20e1c7d52000b9.tar.gz
bcm5719-llvm-57cd7ef1c96fa98e37085f211f20e1c7d52000b9.zip
[sancov] Revert r271695 which broke all of the PPC bots.
Original commit message: [sancov] Run sancov tests on more platforms The only tests that need to be run on Linux are the ones that use C++ demangling. I'm assuming they will fail on Mac, since __cxa_demangle there won't handle the non-double-underscore prefixed mangled names. llvm-svn: 271763
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/tools/sancov/blacklist.test3
-rw-r--r--llvm/test/tools/sancov/covered_functions.test3
-rw-r--r--llvm/test/tools/sancov/html-report.test3
-rw-r--r--llvm/test/tools/sancov/not_covered_functions.test3
-rw-r--r--llvm/test/tools/sancov/print.test1
-rw-r--r--llvm/test/tools/sancov/print_coverage_pcs.test1
-rw-r--r--llvm/test/tools/sancov/stats.test1
7 files changed, 5 insertions, 10 deletions
diff --git a/llvm/test/tools/sancov/blacklist.test b/llvm/test/tools/sancov/blacklist.test
index 65ed25b2c28..6af1799a481 100644
--- a/llvm/test/tools/sancov/blacklist.test
+++ b/llvm/test/tools/sancov/blacklist.test
@@ -1,7 +1,4 @@
-FIXME: sancov relies on __cxa_demangle for demangling. Remove this when LLVM has
-its own demangler.
REQUIRES: x86_64-linux
-
RUN: sancov -covered-functions -blacklist %p/Inputs/fun_blacklist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
RUN: sancov -covered-functions -blacklist %p/Inputs/src_blacklist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=CHECK1 %s
diff --git a/llvm/test/tools/sancov/covered_functions.test b/llvm/test/tools/sancov/covered_functions.test
index e94c30ce69a..8126049a0ca 100644
--- a/llvm/test/tools/sancov/covered_functions.test
+++ b/llvm/test/tools/sancov/covered_functions.test
@@ -1,7 +1,4 @@
-FIXME: sancov relies on __cxa_demangle for demangling. Remove this when LLVM has
-its own demangler.
REQUIRES: x86_64-linux
-
RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
RUN: sancov -covered-functions -strip_path_prefix=Inputs/ %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=STRIP_PATH %s
RUN: sancov -demangle=0 -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck --check-prefix=NO_DEMANGLE %s
diff --git a/llvm/test/tools/sancov/html-report.test b/llvm/test/tools/sancov/html-report.test
index 29b92386c13..a50c8fba742 100644
--- a/llvm/test/tools/sancov/html-report.test
+++ b/llvm/test/tools/sancov/html-report.test
@@ -1,5 +1,6 @@
+REQUIRES: x86_64-linux
RUN: sancov -html-report %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
// It's very difficult to test html report. Do basic smoke check.
-CHECK: {{.*[/\\]Inputs[/\\]test.cpp}}
+CHECK: {{.*/Inputs/test.cpp}}
diff --git a/llvm/test/tools/sancov/not_covered_functions.test b/llvm/test/tools/sancov/not_covered_functions.test
index e69d46645ec..77f0e6bd8dd 100644
--- a/llvm/test/tools/sancov/not_covered_functions.test
+++ b/llvm/test/tools/sancov/not_covered_functions.test
@@ -1,7 +1,4 @@
-FIXME: sancov relies on __cxa_demangle for demangling. Remove this when LLVM has
-its own demangler.
REQUIRES: x86_64-linux
-
RUN: sancov -not-covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
RUN: sancov -not-covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=CHECK1 --allow-empty %s
diff --git a/llvm/test/tools/sancov/print.test b/llvm/test/tools/sancov/print.test
index 24ebb244b3e..fe94216b051 100644
--- a/llvm/test/tools/sancov/print.test
+++ b/llvm/test/tools/sancov/print.test
@@ -1,3 +1,4 @@
+REQUIRES: x86_64-linux
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 3a54f97d7b4..2756eb03ba0 100644
--- a/llvm/test/tools/sancov/print_coverage_pcs.test
+++ b/llvm/test/tools/sancov/print_coverage_pcs.test
@@ -1,3 +1,4 @@
+REQUIRES: x86_64-linux
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 d5b4c9beb1b..05e712b0bde 100644
--- a/llvm/test/tools/sancov/stats.test
+++ b/llvm/test/tools/sancov/stats.test
@@ -1,3 +1,4 @@
+REQUIRES: x86_64-linux
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