public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Update ibus-desktop-testing-runner not to fail CI
@ 2026-05-31  2:07 Takao Fujiwara
  0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-05-31  2:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 727c9d4c5a525497e5d09b25463a259d780527f7
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2019-08-14T15:01:24+09:00
Stats  : +41/-2 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/727c9d4c5a525497e5d09b25463a259d780527f7?branch=autotool

Log:
Update ibus-desktop-testing-runner not to fail CI

---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 0b2eead..ec88af6 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -15271,3 +15271,40 @@ index f1df3ac1..fdd316a9 100644
 -- 
 2.21.0
 
+From 28c10d64d282fa9fbc35a7bc44a096f6137d5e46 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 13 Aug 2019 20:06:51 +0900
+Subject: [PATCH] src/tests: Set XDG_SESSION_TYPE in
+ ibus-desktop-testing-runner
+
+mutter 3.33.90 or later exits the session without loginctl.
+Now ibus-desktop-testing-runner has XDG_SESSION_TYPE forcibly
+not to exit gnome-shell.
+---
+ src/tests/ibus-desktop-testing-runner.in | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/tests/ibus-desktop-testing-runner.in b/src/tests/ibus-desktop-testing-runner.in
+index 3045d601..141e9b5b 100755
+--- a/src/tests/ibus-desktop-testing-runner.in
++++ b/src/tests/ibus-desktop-testing-runner.in
+@@ -157,6 +157,8 @@ _EOF
+             echo "$XDG_LANG_NEW" > $XDG_LOCALE_FILE
+         fi
+     fi
++    # `su` command does not run loginctl
++    export XDG_SESSION_TYPE='x11'
+ }
+ 
+ run_dbus_daemon()
+@@ -175,6 +177,7 @@ run_desktop()
+     PID_XORG=$!
+     sleep 1
+     export DISPLAY=$DISPLAY
++    echo "Running $DESKTOP_COMMAND with $USER in `tty`"
+     $DESKTOP_COMMAND &
+     PID_GNOME_SESSION=$!
+     sleep 30
+-- 
+2.21.0
+

diff --git a/ibus.spec b/ibus.spec
index e321945..ce95c3b 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -35,7 +35,7 @@
 
 Name:           ibus
 Version:        1.5.20
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Intelligent Input Bus for Linux OS
 License:        LGPLv2+
 URL:            https://github.com/ibus/%name/wiki
@@ -464,6 +464,9 @@ dconf update || :
 %{_datadir}/installed-tests/ibus
 
 %changelog
+* Tue Aug 13 2019 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.20-10
+- Update ibus-desktop-testing-runner not to fail CI.
+
 * Tue Aug 06 2019 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.20-9
 - ibus-daemon always will exits with parent's death.
 

diff --git a/tests/roles/ibus-desktop-testing-role/tasks/main.yml b/tests/roles/ibus-desktop-testing-role/tasks/main.yml
index cd7cf72..13b9c19 100644
--- a/tests/roles/ibus-desktop-testing-role/tasks/main.yml
+++ b/tests/roles/ibus-desktop-testing-role/tasks/main.yml
@@ -73,7 +73,6 @@
       echo "${status} $TEST" >> {{ remote_artifacts }}/test.log
 
   - name: Check the results
-    #shell: grep "^FAIL" {{ remote_artifacts }}/test.log
     shell: |
         log="{{ remote_artifacts }}/test.log"
         if [ ! -f $log ] ; then

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-31  2:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31  2:07 [rpms/ibus] autotool: Update ibus-desktop-testing-runner not to fail CI Takao Fujiwara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox