Replace STI with TMT in CI
Replace GNOME Xorg with GNOME Wayland in CI Resolves: RHEL-58993
This commit is contained in:
parent
78c9f3bfe6
commit
cc1fe56ef5
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
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
|
68
tests/ibus-desktop-testing/install1-common/main.fmf
Normal file
68
tests/ibus-desktop-testing/install1-common/main.fmf
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
summary: Install common GNOME desktop components
|
||||||
|
description:
|
||||||
|
The listed packages are installed commonly between Fedora and
|
||||||
|
RHEL GNOME desktop components.
|
||||||
|
require:
|
||||||
|
# IBus CI sets
|
||||||
|
- 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-settings-daemon
|
||||||
|
- gnome-shell
|
||||||
|
- gnome-software
|
||||||
|
- 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
|
||||||
|
- 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-remote-desktop
|
||||||
|
- gnome-system-monitor
|
||||||
|
- gnome-user-docs
|
||||||
|
- gvfs-goa
|
||||||
|
- gvfs-mtp
|
||||||
|
- 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
|
||||||
|
- ptyxis
|
||||||
|
- 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
|
39
tests/ibus-desktop-testing/install2-fedora/main.fmf
Normal file
39
tests/ibus-desktop-testing/install2-fedora/main.fmf
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
summary: Install Fedora specific GNOME desktop components
|
||||||
|
description:
|
||||||
|
The listed packages are available in Fedora only.
|
||||||
|
enabled: false
|
||||||
|
adjust:
|
||||||
|
when: distro == fedora
|
||||||
|
enabled: true
|
||||||
|
require:
|
||||||
|
- adobe-source-code-pro-fonts
|
||||||
|
- gnome-screenshot
|
||||||
|
- gnome-boxes
|
||||||
|
- yelp
|
||||||
|
- cheese
|
||||||
|
- eog
|
||||||
|
- evince
|
||||||
|
- evince-djvu
|
||||||
|
- gnome-backgrounds
|
||||||
|
- gnome-contacts
|
||||||
|
- gnome-logs
|
||||||
|
- gnome-maps
|
||||||
|
- gnome-photos
|
||||||
|
- gnome-themes-extra
|
||||||
|
- gnome-user-share
|
||||||
|
- gnome-weather
|
||||||
|
- gvfs-afc
|
||||||
|
- gvfs-afp
|
||||||
|
- gvfs-archive
|
||||||
|
- gvfs-fuse
|
||||||
|
- gvfs-gphoto2
|
||||||
|
- gvfs-smb
|
||||||
|
- NetworkManager-openconnect-gnome
|
||||||
|
- NetworkManager-openvpn-gnome
|
||||||
|
- NetworkManager-pptp-gnome
|
||||||
|
- NetworkManager-ssh-gnome
|
||||||
|
- NetworkManager-vpnc-gnome
|
||||||
|
- rygel
|
||||||
|
- simple-scan
|
||||||
|
- sushi
|
||||||
|
- totem
|
13
tests/ibus-desktop-testing/install3-rhel/main.fmf
Normal file
13
tests/ibus-desktop-testing/install3-rhel/main.fmf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
summary: Install RHEL specific GNOME desktop components
|
||||||
|
description:
|
||||||
|
gdm-headless-login-session is not available in RHEL 10 GDM yet and
|
||||||
|
the listed packages are required by the command.
|
||||||
|
enabled: false
|
||||||
|
adjust:
|
||||||
|
when: distro != fedora
|
||||||
|
enabled: true
|
||||||
|
require:
|
||||||
|
- accountsservice
|
||||||
|
- accountsservice-libs
|
||||||
|
- pam
|
||||||
|
- python3-pam
|
6
tests/ibus-desktop-testing/install4-g-d-t/main.fmf
Normal file
6
tests/ibus-desktop-testing/install4-g-d-t/main.fmf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
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.
|
||||||
|
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
|
6
tests/ibus-desktop-testing/install6-ibus-anthy/main.fmf
Normal file
6
tests/ibus-desktop-testing/install6-ibus-anthy/main.fmf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
summary: Install ibus-anthy specific packages
|
||||||
|
description:
|
||||||
|
The listed packages are required by CI of ibus-anthy.
|
||||||
|
require:
|
||||||
|
- ibus-anthy-tests
|
||||||
|
- glibc-langpack-ja
|
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
|
5
tests/ibus-desktop-testing/run/main.fmf
Normal file
5
tests/ibus-desktop-testing/run/main.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
summary: Run tests
|
||||||
|
description:
|
||||||
|
Run CI with ibus-desktop-testing-runner in GNOME Wayland.
|
||||||
|
duration: 15m
|
||||||
|
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 --tests ibus-anthy --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