forked from OSchip/llvm-project
[libFuzzer] split two tests to get more parallelism in test runs
llvm-svn: 298673
This commit is contained in:
parent
2c88cee15c
commit
e54785c6e9
|
@ -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
|
||||||
|
|
|
@ -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: ERROR: libFuzzer: equivalence-mismatch. Sizes: {{.*}}; offset 2
|
||||||
CHECK: SUMMARY: libFuzzer: equivalence-mismatch
|
CHECK: SUMMARY: libFuzzer: equivalence-mismatch
|
||||||
RUN: kill -9 $APID
|
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: ERROR: libFuzzer: timeout after
|
||||||
LEAK_TIMEOUT-NOT: LeakSanitizer
|
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
|
RUN: LLVMFuzzer-LeakTest -error_exitcode=0
|
||||||
|
|
Loading…
Reference in New Issue