mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[libFuzzer] split two tests to get more parallelism in test runs
llvm-svn: 298673
This commit is contained in:
parent
20019dd81a
commit
009da7a276
4
lib/Fuzzer/test/disable-leaks.test
Normal file
4
lib/Fuzzer/test/disable-leaks.test
Normal file
@ -0,0 +1,4 @@
|
||||
REQUIRES: lsan
|
||||
RUN: LLVMFuzzer-AccumulateAllocationsTest -detect_leaks=1 -runs=100000 2>&1 | FileCheck %s --check-prefix=ACCUMULATE_ALLOCS
|
||||
ACCUMULATE_ALLOCS: INFO: libFuzzer disabled leak detection after every mutation
|
||||
|
9
lib/Fuzzer/test/equivalence-signals.test
Normal file
9
lib/Fuzzer/test/equivalence-signals.test
Normal file
@ -0,0 +1,9 @@
|
||||
REQUIRES: posix
|
||||
# Run EquivalenceATest against itself with a small timeout
|
||||
# to stress the signal handling and ensure that shmem doesn't mind
|
||||
# the signals.
|
||||
|
||||
RUN: LLVMFuzzer-EquivalenceATest -timeout=1 -run_equivalence_server=EQUIV_SIG_TEST & export APID=$!
|
||||
RUN: sleep 3
|
||||
RUN: LLVMFuzzer-EquivalenceATest -timeout=1 -use_equivalence_server=EQUIV_SIG_TEST -runs=500000 2>&1
|
||||
RUN: kill -9 $APID
|
@ -6,13 +6,3 @@ RUN: not LLVMFuzzer-EquivalenceBTest -use_equivalence_server=EQUIV_TEST -max_len
|
||||
CHECK: ERROR: libFuzzer: equivalence-mismatch. Sizes: {{.*}}; offset 2
|
||||
CHECK: SUMMARY: libFuzzer: equivalence-mismatch
|
||||
RUN: kill -9 $APID
|
||||
|
||||
|
||||
# Run EquivalenceATest against itself with a small timeout
|
||||
# to stress the signal handling and ensure that shmem doesn't mind
|
||||
# the signals.
|
||||
|
||||
RUN: LLVMFuzzer-EquivalenceATest -timeout=1 -run_equivalence_server=EQUIV_TEST & export APID=$!
|
||||
RUN: sleep 3
|
||||
RUN: LLVMFuzzer-EquivalenceATest -timeout=1 -use_equivalence_server=EQUIV_TEST -runs=500000 2>&1
|
||||
RUN: kill -9 $APID
|
||||
|
@ -29,7 +29,5 @@ RUN: not LLVMFuzzer-LeakTimeoutTest -timeout=1 2>&1 | FileCheck %s --check-prefi
|
||||
LEAK_TIMEOUT: ERROR: libFuzzer: timeout after
|
||||
LEAK_TIMEOUT-NOT: LeakSanitizer
|
||||
|
||||
RUN: LLVMFuzzer-AccumulateAllocationsTest -detect_leaks=1 -runs=100000 2>&1 | FileCheck %s --check-prefix=ACCUMULATE_ALLOCS
|
||||
ACCUMULATE_ALLOCS: INFO: libFuzzer disabled leak detection after every mutation
|
||||
|
||||
RUN: LLVMFuzzer-LeakTest -error_exitcode=0
|
||||
|
Loading…
x
Reference in New Issue
Block a user