summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2019-05-17 16:56:01 +0000
committerMatt Morehouse <mascasa@google.com>2019-05-17 16:56:01 +0000
commit012ef1cca7d8eb9de76e881159936606283643a2 (patch)
tree8de88c7550b021ea07f53fc5bd7fba23384ac640
parent067e9468596a6e7a7f386558a0c1874aa1725f54 (diff)
downloadbcm5719-llvm-012ef1cca7d8eb9de76e881159936606283643a2.tar.gz
bcm5719-llvm-012ef1cca7d8eb9de76e881159936606283643a2.zip
[libFuzzer] Use SleepOneSecondTest.cpp for fork-sigusr.test.
ShallowOOMDeepCrash.cpp may hit libFuzzer's RSS limit before the SIGUSR2 is delivered, causing the test to be flaky when bots are under load. SleepOneSecondTest.cpp will keep running until the signal is delivered. llvm-svn: 361048
-rw-r--r--compiler-rt/test/fuzzer/fork-sigusr.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/fuzzer/fork-sigusr.test b/compiler-rt/test/fuzzer/fork-sigusr.test
index 0737f0d8dbc..ac755436d9b 100644
--- a/compiler-rt/test/fuzzer/fork-sigusr.test
+++ b/compiler-rt/test/fuzzer/fork-sigusr.test
@@ -3,9 +3,9 @@
UNSUPPORTED: darwin, windows
RUN: rm -rf %t
RUN: mkdir -p %t
-RUN: %cpp_compiler %S/ShallowOOMDeepCrash.cpp -o %t/ForkSIGUSR
+RUN: %cpp_compiler %S/SleepOneSecondTest.cpp -o %t/ForkSIGUSR
-RUN: %run %t/ForkSIGUSR -fork=3 -rss_limit_mb=128 -ignore_crashes=1 2>%t/log & export PID=$!
+RUN: %run %t/ForkSIGUSR -fork=3 -ignore_crashes=1 2>%t/log & export PID=$!
RUN: sleep 3
RUN: kill -SIGUSR2 $PID
RUN: sleep 6
OpenPOWER on IntegriCloud