2017-08-22 07:25:50 +08:00
|
|
|
# Run EquivalenceATest against itself with a small timeout
|
|
|
|
# to stress the signal handling and ensure that shmem doesn't mind
|
|
|
|
# the signals.
|
lib Fuzzer FreeBSD support
Summary: Patch by David CARLIER
Reviewers: vitalybuka, kcc, dim, emaste, davide, morehouse, george.karpenkov
Reviewed By: morehouse
Subscribers: george.karpenkov, kubamracek, srhines, mgorny, emaste, krytarowski
Differential Revision: https://reviews.llvm.org/D41642
llvm-svn: 322380
2018-01-13 01:15:05 +08:00
|
|
|
UNSUPPORTED: freebsd
|
2017-08-22 07:25:50 +08:00
|
|
|
|
2018-03-22 01:55:36 +08:00
|
|
|
# The test is not supported on Darwin
|
|
|
|
UNSUPPORTED: darwin
|
|
|
|
|
2017-08-22 07:25:50 +08:00
|
|
|
RUN: %cpp_compiler %S/EquivalenceATest.cpp -o %t-EquivalenceATest
|
2018-05-12 05:29:51 +08:00
|
|
|
RUN: %run %t-EquivalenceATest -timeout=1 -run_equivalence_server=EQ_SIG_TEST & export APID=$!
|
2017-08-22 07:25:50 +08:00
|
|
|
RUN: sleep 3
|
2018-05-12 05:29:51 +08:00
|
|
|
RUN: %run %t-EquivalenceATest -timeout=1 -use_equivalence_server=EQ_SIG_TEST -runs=500000 2>&1
|
2017-08-22 07:25:50 +08:00
|
|
|
RUN: kill -9 $APID
|