mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 06:36:46 +00:00

This patch does not do anything, but paves the way for future changes, where %run command will be expanded into a script performing the testing on device. Differential Revision: https://reviews.llvm.org/D46553 llvm-svn: 332144
8 lines
317 B
Plaintext
8 lines
317 B
Plaintext
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
|