Skip to content

Commit 3023f05

Browse files
committed
[NFC][lsan][fuzzer] Relax fuzzer-leak.test
With lsan we can't guarantee to catch leak on the same iteration.
1 parent e71cda2 commit 3023f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/fuzzer/fuzzer-leak.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN: %cpp_compiler %S/LeakTimeoutTest.cpp -o %t-LeakTimeoutTest
77
RUN: rm -rf %t-corpus && mkdir -p %t-corpus
88
RUN: not %run %t-LeakTest -runs=100000 -detect_leaks=1 %t-corpus 2>&1 | FileCheck %s --check-prefix=LEAK_DURING
99
LEAK_DURING: ERROR: LeakSanitizer: detected memory leaks
10-
LEAK_DURING: Direct leak of 4 byte(s) in 1 object(s) allocated from:
10+
LEAK_DURING: Direct leak of {{.*}} byte(s) in {{.*}} object(s) allocated from:
1111
LEAK_DURING: INFO: to ignore leaks on libFuzzer side use -detect_leaks=0
1212
LEAK_DURING: Test unit written to ./leak-
1313
LEAK_DURING-NOT: DONE

0 commit comments

Comments
 (0)