You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
317 B
8 lines
317 B
REQUIRES: linux
|
|
RUN: %cpp_compiler %S/OutOfMemoryTest.cpp -o %t-OutOfMemoryTest
|
|
RUN: not %run %t-OutOfMemoryTest -rss_limit_mb=300 2>&1 | FileCheck %s
|
|
CHECK: ERROR: libFuzzer: out-of-memory (used: {{.*}}; limit: 300Mb)
|
|
CHECK: Live Heap Allocations
|
|
CHECK: Test unit written to ./oom-
|
|
SUMMARY: libFuzzer: out-of-memory
|