Replace STI with TMT in CI
This commit is contained in:
parent
cb19883e9b
commit
25d32dd84c
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
@ -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
|
||||
|
5
plans/test.fmf
Normal file
5
plans/test.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
76
tests/ibus-desktop-testing/install1-common/main.fmf
Normal file
76
tests/ibus-desktop-testing/install1-common/main.fmf
Normal file
@ -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
|
32
tests/ibus-desktop-testing/install2-fedora/main.fmf
Normal file
32
tests/ibus-desktop-testing/install2-fedora/main.fmf
Normal file
@ -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
|
14
tests/ibus-desktop-testing/install3-no-g-d-t/main.fmf
Normal file
14
tests/ibus-desktop-testing/install3-no-g-d-t/main.fmf
Normal file
@ -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
|
8
tests/ibus-desktop-testing/install4-g-d-t/main.fmf
Normal file
8
tests/ibus-desktop-testing/install4-g-d-t/main.fmf
Normal file
@ -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
|
6
tests/ibus-desktop-testing/install5-tmt/main.fmf
Normal file
6
tests/ibus-desktop-testing/install5-tmt/main.fmf
Normal file
@ -0,0 +1,6 @@
|
||||
summary: Install TMT packages
|
||||
description:
|
||||
The test script is calling the beakerlib script.
|
||||
require:
|
||||
- beakerlib
|
||||
- tmt
|
10
tests/ibus-desktop-testing/install6-ibus/main.fmf
Normal file
10
tests/ibus-desktop-testing/install6-ibus/main.fmf
Normal file
@ -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
|
3
tests/ibus-desktop-testing/main.fmf
Normal file
3
tests/ibus-desktop-testing/main.fmf
Normal file
@ -0,0 +1,3 @@
|
||||
summary: gnome-desktop-testing tests
|
||||
# common test for sub tests
|
||||
test: env
|
4
tests/ibus-desktop-testing/run/main.fmf
Normal file
4
tests/ibus-desktop-testing/run/main.fmf
Normal file
@ -0,0 +1,4 @@
|
||||
summary: Run tests
|
||||
description:
|
||||
Run CI with ibus-desktop-testing-runner in GNOME Wayland.
|
||||
test: ./test.sh
|
15
tests/ibus-desktop-testing/run/test.sh
Executable file
15
tests/ibus-desktop-testing/run/test.sh
Executable file
@ -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
|
1
tests/main.fmt
Normal file
1
tests/main.fmt
Normal file
@ -0,0 +1 @@
|
||||
contact: Takao Fujiwara <fujiwara@redhat.com>
|
Loading…
Reference in New Issue
Block a user