From 21d7c99c663264f41a23f4de0bab1760ffb92872 Mon Sep 17 00:00:00 2001 From: Takao Fujiwara Date: Tue, 15 Apr 2025 01:04:10 +0900 Subject: [PATCH] Resolves: RHEL-1616 Add screenshot option in CI #2 --- ibus-xx-tests-screenshot.patch | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ibus-xx-tests-screenshot.patch b/ibus-xx-tests-screenshot.patch index 7afccb6..3f5b917 100644 --- a/ibus-xx-tests-screenshot.patch +++ b/ibus-xx-tests-screenshot.patch @@ -1,5 +1,5 @@ --- ibus-1.5.19/src/tests/ibus-desktop-testing-runner.in.orig 2025-04-11 13:28:17.764620101 +0900 -+++ ibus-1.5.19/src/tests/ibus-desktop-testing-runner.in 2025-04-12 11:53:57.367461845 +0900 ++++ ibus-1.5.19/src/tests/ibus-desktop-testing-runner.in 2025-04-15 01:02:05.501785740 +0900 @@ -43,6 +43,7 @@ SRCDIR="." TEST_LOG="test-suite.log" TEST_LOG_STDOUT=0 @@ -44,13 +44,12 @@ PID_GNOME_SESSION=$! sleep 30 HAS_GNOME=`echo $DESKTOP_COMMAND | grep gnome-session` -@@ -373,8 +377,13 @@ EOF_RUNNER - finit() +@@ -374,7 +378,13 @@ finit() { echo "# Killing left gnome-session and Xorg" -- kill $PID_GNOME_SESSION $PID_XORG + kill $PID_GNOME_SESSION $PID_XORG - ibus exit -+ kill $PID_GNOME_SESSION $PID_XORG >&/dev/null ++ wait $PID_GNOME_SESSION $PID_XORG 2>/dev/null + PID_IBUS=`pidof ibus-daemon` + if test x"$PID_IBUS" != x ; then + ibus exit @@ -60,7 +59,7 @@ SUSER=`echo "$USER" | cut -c 1-7` LEFT_CALENDAR=`ps -ef | grep gnome-shell-calendar-server | grep $SUSER | grep -v grep` if [ x"$LEFT_CALENDAR" != x ] ; then -@@ -386,14 +395,67 @@ finit() +@@ -386,14 +396,67 @@ finit() echo "# Finished $PROGNAME testing" }