public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Replace STI with TMT in CI
Date: Sun, 31 May 2026 02:08:37 GMT	[thread overview]
Message-ID: <178019331793.1.1397744458118349160.rpms-ibus-25d32dd84c38@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 25d32dd84c38479120103dc7d334795456da0bff
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2024-07-27T20:36:41+09:00
Stats  : +176/-0 in 13 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/25d32dd84c38479120103dc7d334795456da0bff?branch=autotool

Log:
Replace STI with TMT in CI

---
diff --git a/.fmf/version b/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/.fmf/version
@@ -0,0 +1 @@
+1

diff --git a/ibus.spec b/ibus.spec
index 63425ea..37d61e0 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -620,6 +620,7 @@ dconf update || :
 %changelog
 * Sat Jul 27 2024 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.31~beta1-10
 - Replace GNOME Xorg with GNOME Wayland in CI
+- Replace STI with TMT in CI
 
 * Sat Jul 27 2024 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.31~beta1-9
 - Update CI for RHEL packages

diff --git a/plans/test.fmf b/plans/test.fmf
new file mode 100644
index 0000000..c1627f9
--- /dev/null
+++ b/plans/test.fmf
@@ -0,0 +1,5 @@
+summary: Basic smoke test
+discover:
+    how: fmf
+execute:
+    how: tmt

diff --git a/tests/ibus-desktop-testing/install1-common/main.fmf b/tests/ibus-desktop-testing/install1-common/main.fmf
new file mode 100644
index 0000000..113b3b9
--- /dev/null
+++ b/tests/ibus-desktop-testing/install1-common/main.fmf
@@ -0,0 +1,76 @@
+summary: Install common GNOME desktop components
+description:
+    The listed packages are installed commonly between Fedora and
+    RHEL GNOME desktop components.
+require:
+    # IBus CI sets
+    - xorg-x11-server-Xvfb
+    - ibus
+    - ibus-desktop-testing
+    - dbus-x11
+    # https://pagure.io/fedora-comps/blob/main/f/comps-f38.xml.in
+    # dnf group info GNOME
+    # mandatory
+    - dconf
+    - gdm
+    - gnome-connections
+    - gnome-control-center
+    - gnome-initial-setup
+    - gnome-session-wayland-session
+    - gnome-session-xsession
+    - gnome-settings-daemon
+    - gnome-shell
+    - gnome-software
+    - gnome-terminal
+    - gnome-text-editor
+    - nautilus
+    - polkit
+    # default
+    - at-spi2-atk
+    - at-spi2-core
+    - avahi
+    - baobab
+    # Sometimes version mismatch with gnome-shell in rawhide
+    #- chrome-gnome-shell
+    - evince
+    - fprintd-pam
+    - glib-networking
+    - gnome-bluetooth
+    - gnome-calculator
+    - gnome-characters
+    - gnome-classic-session
+    - gnome-clocks
+    - gnome-color-manager
+    - gnome-disk-utility
+    - gnome-font-viewer
+    - gnome-logs
+    - gnome-remote-desktop
+    - gnome-system-monitor
+    - gnome-terminal-nautilus
+    - gnome-user-docs
+    - gvfs-fuse
+    - gvfs-goa
+    - gvfs-gphoto2
+    - gvfs-mtp
+    - gvfs-smb
+    - libcanberra-gtk3
+    - libproxy-duktape
+    - librsvg2
+    - libsane-hpaio
+    - mesa-dri-drivers
+    - mesa-libEGL
+    - ModemManager
+    - NetworkManager-adsl
+    - NetworkManager-ppp
+    - NetworkManager-wwan
+    - orca
+    - PackageKit-command-not-found
+    - PackageKit-gtk3-module
+    - sane-backends-drivers-scanners
+    # Move systemd-oomd-defaults to Post-Installing section
+    - tracker
+    - tracker-miners
+    - xdg-desktop-portal
+    - xdg-desktop-portal-gnome
+    - xdg-desktop-portal-gtk
+    - xdg-user-dirs-gtk

diff --git a/tests/ibus-desktop-testing/install2-fedora/main.fmf b/tests/ibus-desktop-testing/install2-fedora/main.fmf
new file mode 100644
index 0000000..0484cca
--- /dev/null
+++ b/tests/ibus-desktop-testing/install2-fedora/main.fmf
@@ -0,0 +1,32 @@
+summary: Install Fedora specific GNOME desktop components
+description:
+    The listed packages are available in Fedora only.
+adjust:
+    when: distro == fedora
+require:
+    - adobe-source-code-pro-fonts
+    - gnome-screenshot
+    - gnome-boxes
+    - yelp
+    - cheese
+    - eog
+    - evince-djvu
+    - gnome-backgrounds
+    - gnome-contacts
+    - gnome-maps
+    - gnome-photos
+    - gnome-themes-extra
+    - gnome-user-share
+    - gnome-weather
+    - gvfs-afc
+    - gvfs-afp
+    - gvfs-archive
+    - NetworkManager-openconnect-gnome
+    - NetworkManager-openvpn-gnome
+    - NetworkManager-pptp-gnome
+    - NetworkManager-ssh-gnome
+    - NetworkManager-vpnc-gnome
+    - rygel
+    - simple-scan
+    - sushi
+    - totem

diff --git a/tests/ibus-desktop-testing/install3-no-g-d-t/main.fmf b/tests/ibus-desktop-testing/install3-no-g-d-t/main.fmf
new file mode 100644
index 0000000..f573331
--- /dev/null
+++ b/tests/ibus-desktop-testing/install3-no-g-d-t/main.fmf
@@ -0,0 +1,14 @@
+summary: Install build environment
+description:
+    gnome-desktop-testing package is not available in RHEL 10 yet and
+    the listed packages are installed for the build environment of
+    gnome-desktop-testing.
+adjust:
+    when: distro != fedora
+require:
+    - autoconf
+    - automake
+    - make
+    - gcc
+    - git
+    - libtool

diff --git a/tests/ibus-desktop-testing/install4-g-d-t/main.fmf b/tests/ibus-desktop-testing/install4-g-d-t/main.fmf
new file mode 100644
index 0000000..dd6ce6d
--- /dev/null
+++ b/tests/ibus-desktop-testing/install4-g-d-t/main.fmf
@@ -0,0 +1,8 @@
+summary: Install GNOME installed-tests testing harness
+description:
+    gnome-desktop-testing package is required by IBus CI(ibus-desktop-testing)
+    and it's available in Fedora only at present.
+adjust:
+    when: distro == fedora
+require:
+    - gnome-desktop-testing

diff --git a/tests/ibus-desktop-testing/install5-tmt/main.fmf b/tests/ibus-desktop-testing/install5-tmt/main.fmf
new file mode 100644
index 0000000..966cf80
--- /dev/null
+++ b/tests/ibus-desktop-testing/install5-tmt/main.fmf
@@ -0,0 +1,6 @@
+summary: Install TMT packages
+description:
+    The test script is calling the beakerlib script.
+require:
+    - beakerlib
+    - tmt

diff --git a/tests/ibus-desktop-testing/install6-ibus/main.fmf b/tests/ibus-desktop-testing/install6-ibus/main.fmf
new file mode 100644
index 0000000..0e0d40e
--- /dev/null
+++ b/tests/ibus-desktop-testing/install6-ibus/main.fmf
@@ -0,0 +1,10 @@
+summary: Install ibus specific packages
+description:
+    The listed packages are required by CI of ibus core.
+require:
+    - ibus-tests
+    # ibus-compose test needs locales
+    - glibc-langpack-el
+    - glibc-langpack-fi
+    - glibc-langpack-ja
+    - glibc-langpack-pt

diff --git a/tests/ibus-desktop-testing/main.fmf b/tests/ibus-desktop-testing/main.fmf
new file mode 100644
index 0000000..b4d0642
--- /dev/null
+++ b/tests/ibus-desktop-testing/main.fmf
@@ -0,0 +1,3 @@
+summary: gnome-desktop-testing tests
+# common test for sub tests
+test: env

diff --git a/tests/ibus-desktop-testing/run/main.fmf b/tests/ibus-desktop-testing/run/main.fmf
new file mode 100644
index 0000000..39899b2
--- /dev/null
+++ b/tests/ibus-desktop-testing/run/main.fmf
@@ -0,0 +1,4 @@
+summary: Run tests
+description:
+    Run CI with ibus-desktop-testing-runner in GNOME Wayland.
+test: ./test.sh

diff --git a/tests/ibus-desktop-testing/run/test.sh b/tests/ibus-desktop-testing/run/test.sh
new file mode 100755
index 0000000..2a533c6
--- /dev/null
+++ b/tests/ibus-desktop-testing/run/test.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
+. /usr/share/beakerlib/beakerlib.sh || exit 1
+
+rlJournalStart
+    rlPhaseStartTest
+        rlRun -t "/usr/bin/ibus-desktop-testing-runner --runner gnome --no-graphics --lang ja_JP.UTF-8"
+    rlPhaseEnd
+    rlPhaseStartCleanup
+        rlRun "echo test-suite.log"
+        rlRun "cat test-suite.log"
+        rlRun "echo /export/home/itestuser/test-autostart.log"
+        rlRun "cat /export/home/itestuser/test-autostart.log"
+    rlPhaseEnd
+rlJournalEnd

diff --git a/tests/main.fmt b/tests/main.fmt
new file mode 100644
index 0000000..e89cb45
--- /dev/null
+++ b/tests/main.fmt
@@ -0,0 +1 @@
+contact: Takao Fujiwara <fujiwara@redhat.com>

                 reply	other threads:[~2026-05-31  2:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178019331793.1.1397744458118349160.rpms-ibus-25d32dd84c38@fedoraproject.org \
    --to=tfujiwar@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox