mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-07 04:21:39 +00:00
abc56db183
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271763 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
685 B
Plaintext
14 lines
685 B
Plaintext
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
|
|
|
|
CHECK: Inputs{{[/\\]}}test.cpp:12 bar(std::string)
|
|
CHECK: Inputs{{[/\\]}}test.cpp:14 main
|
|
|
|
STRIP_PATH: {{^}}test.cpp:12 bar(std::string)
|
|
STRIP_PATH: {{^}}test.cpp:14 main
|
|
|
|
NO_DEMANGLE: test.cpp:12 _Z3barSs
|
|
NO_DEMANGLE: test.cpp:14 main
|