Andrew Top | 61a8495 | 2019-04-30 15:07:33 -0700 | [diff] [blame] | 1 | REQUIRES: 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. |
| 5 | UNSUPPORTED: freebsd |
| 6 | |
| 7 | # The test is not supported on Darwin |
| 8 | UNSUPPORTED: darwin |
| 9 | |
| 10 | RUN: %cpp_compiler %S/EquivalenceATest.cpp -o %t-EquivalenceATest |
| 11 | RUN: %run %t-EquivalenceATest -timeout=1 -run_equivalence_server=EQ_SIG_TEST & export APID=$! |
| 12 | RUN: sleep 3 |
| 13 | RUN: %run %t-EquivalenceATest -timeout=1 -use_equivalence_server=EQ_SIG_TEST -runs=500000 2>&1 |
| 14 | RUN: kill -9 $APID |