mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 20:43:44 +02:00
b31f4919eb
This is necessary because the existing fuzzer-oom.test was Linux specific due to its use of __sanitizer_print_memory_profile() which is only available on Linux right now and so the test would fail on OSX. Differential Revision: http://reviews.llvm.org/D20977 llvm-svn: 272061
7 lines
254 B
Plaintext
7 lines
254 B
Plaintext
REQUIRES: linux
|
|
RUN: not LLVMFuzzer-OutOfMemoryTest -rss_limit_mb=10 2>&1 | FileCheck %s
|
|
CHECK: ERROR: libFuzzer: out-of-memory (used: {{.*}}; limit: 10Mb)
|
|
CHECK: Live Heap Allocations
|
|
CHECK: Test unit written to ./oom-
|
|
SUMMARY: libFuzzer: out-of-memory
|