Files
clang-p2996/compiler-rt/test/fuzzer/custom-allocator.test
Dokyung Song 769dab207e [libFuzzer] Disable interceptor tests on non-Linux platforms.
Summary: libFuzzer's interceptor support added in 831ae45e3d currently only works on Linux. This patch disables the test cases added as part of that commit on non-Linux platforms.

Reviewers: morehouse, hctim

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D84434
2020-07-23 17:13:44 +00:00

9 lines
332 B
Plaintext

UNSUPPORTED: darwin, freebsd, windows
RUN: %cpp_compiler -fno-sanitize=address -fno-builtin %S/CustomAllocator.cpp %S/EmptyTest.cpp -o %t-NoAsanCustomAllocatorTest
RUN: %run %t-NoAsanCustomAllocatorTest -runs=1 2>&1 | FileCheck %s
CHECK: CALLOC-MEMCMP
CHECK-NEXT: CALLOC-STRNCMP
CHECK-NEXT: CALLOC-STRCMP
CHECK-NEXT: CALLOC-STRSTR