summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools')
-rw-r--r--llvm/test/tools/sancov/stats.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/tools/sancov/stats.test b/llvm/test/tools/sancov/stats.test
new file mode 100644
index 00000000000..e91100b941b
--- /dev/null
+++ b/llvm/test/tools/sancov/stats.test
@@ -0,0 +1,9 @@
+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-points: 16
+CHECK: cov-points: 7
+CHECK: all-fns: 3
+CHECK: cov-fns: 2
+
+
OpenPOWER on IntegriCloud