ci: Drop SIGINT handling from meson test wrapper script
Not needed, I had misread meson code. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9472>
This commit is contained in:
parent
bc76f9a8f2
commit
e7ba882cd4
|
@ -6,7 +6,7 @@ if ! test -f /usr/bin/time; then
|
|||
fi
|
||||
|
||||
|
||||
# If the test times out, meson sends SIGINT & SIGTERM signals to this process.
|
||||
# If the test times out, meson sends SIGTERM to this process.
|
||||
# Simply exec'ing "time" would result in no output from that in this case.
|
||||
# Instead, we need to run "time" in the background, catch the signals and
|
||||
# propagate them to the actual test process.
|
||||
|
@ -16,7 +16,6 @@ TIMEPID=$!
|
|||
TESTPID=$(ps --ppid $TIMEPID -o pid=)
|
||||
|
||||
if test "x$TESTPID" != x; then
|
||||
trap 'kill -INT $TESTPID; wait $TIMEPID; exit $?' INT
|
||||
trap 'kill -TERM $TESTPID; wait $TIMEPID; exit $?' TERM
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue