From: Mike Aizatsky Date: Thu, 12 Nov 2015 20:47:12 +0000 (+0000) Subject: disabling sancov tests: too many failures on different platforms. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=8b07272072d6e7b3351c526e0ea6df31dd250dac disabling sancov tests: too many failures on different platforms. Differential Revision: http://reviews.llvm.org/D14624 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252945 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/sancov/covered_functions._test b/test/tools/sancov/covered_functions._test new file mode 100644 index 00000000000..a73458124cb --- /dev/null +++ b/test/tools/sancov/covered_functions._test @@ -0,0 +1,13 @@ +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 + +CHECK: Inputs{{[/\\]}}test.cpp:12 bar(std::string) +CHECK: Inputs{{[/\\]}}test.cpp:14 main + +MULTIPLE_FILES: {{^}}foo.cpp:5 foo() +MULTIPLE_FILES: {{^}}test.cpp:12 bar(std::string) +MULTIPLE_FILES: {{^}}test.cpp:14 main + +NO_DEMANGLE: test.cpp:12 _Z3barSs +NO_DEMANGLE: test.cpp:14 main diff --git a/test/tools/sancov/covered_functions.test b/test/tools/sancov/covered_functions.test deleted file mode 100644 index a73458124cb..00000000000 --- a/test/tools/sancov/covered_functions.test +++ /dev/null @@ -1,13 +0,0 @@ -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 - -CHECK: Inputs{{[/\\]}}test.cpp:12 bar(std::string) -CHECK: Inputs{{[/\\]}}test.cpp:14 main - -MULTIPLE_FILES: {{^}}foo.cpp:5 foo() -MULTIPLE_FILES: {{^}}test.cpp:12 bar(std::string) -MULTIPLE_FILES: {{^}}test.cpp:14 main - -NO_DEMANGLE: test.cpp:12 _Z3barSs -NO_DEMANGLE: test.cpp:14 main diff --git a/test/tools/sancov/print._test b/test/tools/sancov/print._test new file mode 100644 index 00000000000..abc4b3faa63 --- /dev/null +++ b/test/tools/sancov/print._test @@ -0,0 +1,10 @@ +RUN: sancov -obj %p/Inputs/test-linux_x86_64 -print %p/Inputs/test-linux_x86_64.sancov | FileCheck %s + +CHECK: 0x4db18b +CHECK: 0x4db2d2 +CHECK: 0x4db322 +CHECK: 0x4db376 +CHECK: 0x4db3bd +CHECK: 0x4db3f4 +CHECK: 0x4db427 +CHECK: 0x4db45a diff --git a/test/tools/sancov/print.test b/test/tools/sancov/print.test deleted file mode 100644 index abc4b3faa63..00000000000 --- a/test/tools/sancov/print.test +++ /dev/null @@ -1,10 +0,0 @@ -RUN: sancov -obj %p/Inputs/test-linux_x86_64 -print %p/Inputs/test-linux_x86_64.sancov | FileCheck %s - -CHECK: 0x4db18b -CHECK: 0x4db2d2 -CHECK: 0x4db322 -CHECK: 0x4db376 -CHECK: 0x4db3bd -CHECK: 0x4db3f4 -CHECK: 0x4db427 -CHECK: 0x4db45a