xref: /llvm-project/compiler-rt/test/fuzzer/equivalence-signals.test (revision 8a86860207f0d5c794a2b8c0b384001710e5d036)
1REQUIRES: this-test-is-deprecated
2# Run EquivalenceATest against itself with a small timeout
3# to stress the signal handling and ensure that shmem doesn't mind
4# the signals.
5UNSUPPORTED: target={{.*freebsd.*}}
6
7# The test is not supported on Darwin
8UNSUPPORTED: darwin
9
10RUN: %cpp_compiler %S/EquivalenceATest.cpp -o %t-EquivalenceATest
11RUN: %run %t-EquivalenceATest -timeout=1 -run_equivalence_server=EQ_SIG_TEST & export APID=$!
12RUN: sleep 3
13RUN: %run %t-EquivalenceATest -timeout=1 -use_equivalence_server=EQ_SIG_TEST -runs=500000 2>&1
14RUN: kill -9 $APID
15