diff options
author | David Blaikie <dblaikie@gmail.com> | 2020-12-07 23:49:37 -0800 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2020-12-08 00:23:33 -0800 |
commit | 4415678718ad471c84f024e20ce864ae1e79348a (patch) | |
tree | 55858e363674f930dedaa98569e627dea9694f20 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | ba3adfad6e00cf53dd12a021182ab6c179457574 (diff) | |
download | llvm-4415678718ad471c84f024e20ce864ae1e79348a.zip llvm-4415678718ad471c84f024e20ce864ae1e79348a.tar.gz llvm-4415678718ad471c84f024e20ce864ae1e79348a.tar.bz2 |
Fix shtest-timeout test harder
Don't produce or expect any output from the infinite looping test -
doing so is a recipe for racey flakyness without a longer timeout to
ensure the output is received first, even though that doesn't seem
integral/important to the test. Instead have a plain, no output infinite
loop and check that that is caught and handled.
If for some reason the output is valuable for test coverage - the
timeout should be increased from 1 second to give the process time to
output the text, flush, and for that text to be received and buffered
before the test is timed out.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions