From e7ba882cd42ceca7f2d2a961279fca2631a76ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 4 Mar 2021 18:14:03 +0100 Subject: [PATCH] ci: Drop SIGINT handling from meson test wrapper script Not needed, I had misread meson code. Reviewed-by: Adam Jackson Part-of: --- .gitlab-ci/meson/test-wrapper.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci/meson/test-wrapper.sh b/.gitlab-ci/meson/test-wrapper.sh index 1bb91927090..aece02734a3 100755 --- a/.gitlab-ci/meson/test-wrapper.sh +++ b/.gitlab-ci/meson/test-wrapper.sh @@ -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