Compare commits
No commits in common. "c8" and "c8s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
101
.gitignore
vendored
101
.gitignore
vendored
@ -1 +1,100 @@
|
|||||||
SOURCES/ibus-typing-booster-2.1.0.tar.gz
|
/ibus-typing-booster-0.0.7.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.8.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.9.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.10.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.11.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.12.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.13.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.14.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.15.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.16.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.17.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.18.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.19.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.20.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.21.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.22.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.23.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.24.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.25.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.26.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.27.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.28.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.29.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.30.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.31.tar.gz
|
||||||
|
/ibus-typing-booster-0.0.32.tar.gz
|
||||||
|
/ibus-typing-booster-1.0.0.tar.gz
|
||||||
|
/ibus-typing-booster-1.0.1.tar.gz
|
||||||
|
/ibus-typing-booster-1.0.2.tar.gz
|
||||||
|
/ibus-typing-booster-1.0.3.tar.gz
|
||||||
|
/ibus-typing-booster-1.1.0.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.0.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.1.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.2.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.3.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.4.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.5.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.6.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.7.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.8.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.9.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.10.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.11.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.12.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.13.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.14.tar.gz
|
||||||
|
/ibus-typing-booster-1.2.15.tar.gz
|
||||||
|
/ibus-typing-booster-1.3.0.tar.gz
|
||||||
|
/ibus-typing-booster-1.3.1.tar.gz
|
||||||
|
/ibus-typing-booster-1.4.0.tar.gz
|
||||||
|
/ibus-typing-booster-1.4.1.tar.gz
|
||||||
|
/ibus-typing-booster-1.4.2.tar.gz
|
||||||
|
/ibus-typing-booster-1.4.3.tar.gz
|
||||||
|
/ibus-typing-booster-1.4.4.tar.gz
|
||||||
|
/ibus-typing-booster-1.4.5.tar.gz
|
||||||
|
/ibus-typing-booster-1.4.6.tar.gz
|
||||||
|
/ibus-typing-booster-1.4.7.tar.gz
|
||||||
|
/ibus-typing-booster-1.4.8.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.0.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.1.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.2.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.3.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.4.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.5.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.6.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.7.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.8.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.9.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.10.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.11.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.12.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.13.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.14.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.15.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.16.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.17.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.18.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.19.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.20.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.21.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.22.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.23.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.24.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.25.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.26.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.27.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.28.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.29.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.30.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.31.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.32.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.33.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.34.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.35.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.36.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.37.tar.gz
|
||||||
|
/ibus-typing-booster-1.5.38.tar.gz
|
||||||
|
/ibus-typing-booster-2.0.0.tar.gz
|
||||||
|
/ibus-typing-booster-2.0.2.tar.gz
|
||||||
|
/ibus-typing-booster-2.1.0.tar.gz
|
||||||
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-8
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
9
plans/basic.fmf
Normal file
9
plans/basic.fmf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
prepare:
|
||||||
|
how: shell
|
||||||
|
script:
|
||||||
|
- dnf config-manager --enable rhel-CRB --enable rhel-buildroot
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (ibus-typing-booster-2.1.0.tar.gz) = 7d1b8d0761bdd71a3c72a60d59e0f7f1c94c8c8863b2a1cfb4ed7742060482500d43d7f71bc328a50628a9c116297695813651d7712b88cf7e8594118c4b339f
|
54
tests/main.fmf
Normal file
54
tests/main.fmf
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
test: ./runtest.sh
|
||||||
|
duration: 50m
|
||||||
|
framework: beakerlib
|
||||||
|
require:
|
||||||
|
# This stuff is only needed if gnome-desktop-testing
|
||||||
|
# cannot be required as a package and needs to be cloned
|
||||||
|
# from the git repo and build from source:
|
||||||
|
- git
|
||||||
|
- make
|
||||||
|
- gcc
|
||||||
|
- diffutils
|
||||||
|
- autoconf
|
||||||
|
- automake
|
||||||
|
- libtool
|
||||||
|
- glib2-devel
|
||||||
|
- systemd-devel
|
||||||
|
# Other requirements:
|
||||||
|
- gnome-session
|
||||||
|
- gnome-shell
|
||||||
|
- dbus-x11
|
||||||
|
- xorg-x11-server-Xvfb
|
||||||
|
- ibus
|
||||||
|
- ibus-devel
|
||||||
|
- ibus-desktop-testing
|
||||||
|
- ibus-typing-booster
|
||||||
|
- ibus-typing-booster-tests
|
||||||
|
- rsync
|
||||||
|
- m17n-lib
|
||||||
|
- m17n-db-extras
|
||||||
|
- python3-enchant
|
||||||
|
- libappstream-glib
|
||||||
|
- desktop-file-utils
|
||||||
|
- python3-gobject
|
||||||
|
- python3-gobject-base
|
||||||
|
- hunspell-cs
|
||||||
|
- hunspell-de
|
||||||
|
- hunspell-en
|
||||||
|
- hunspell-es
|
||||||
|
- hunspell-fr
|
||||||
|
- hunspell-it
|
||||||
|
- hunspell-ko
|
||||||
|
- dconf
|
||||||
|
- python3-devel
|
||||||
|
- python3-pyxdg
|
||||||
|
- glibc-langpack-en
|
||||||
|
- glibc-langpack-cs
|
||||||
|
- glibc-langpack-km
|
||||||
|
- glibc-langpack-pt
|
||||||
|
- glibc-langpack-am
|
||||||
|
- glibc-langpack-de
|
||||||
|
- glibc-langpack-ar
|
||||||
|
recommend:
|
||||||
|
# this is not available on RHEL9
|
||||||
|
- gnome-desktop-testing
|
48
tests/runtest.sh
Executable file
48
tests/runtest.sh
Executable file
@ -0,0 +1,48 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
|
NAME=ibus-typing-booster
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
rlAssertRpm ${NAME}
|
||||||
|
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||||
|
rlRun "pushd $tmp"
|
||||||
|
if ! rlCheckRpm gnome-desktop-testing; then
|
||||||
|
echo "gnome-desktop-testing is not available."
|
||||||
|
echo "Trying to download and compile it:"
|
||||||
|
git clone https://gitlab.gnome.org/GNOME/gnome-desktop-testing.git
|
||||||
|
pushd gnome-desktop-testing
|
||||||
|
git checkout v2021.1
|
||||||
|
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
popd
|
||||||
|
fi
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartTest
|
||||||
|
rlRun "ibus-desktop-testing-runner \
|
||||||
|
--no-graphics \
|
||||||
|
--runner=gnome \
|
||||||
|
--timeout=1500 \
|
||||||
|
--tests=${NAME} \
|
||||||
|
--output=${NAME}.log \
|
||||||
|
--result=test.log \
|
||||||
|
" 0 "Running ${NAME} tests"
|
||||||
|
echo "==== ${NAME}.log: ===="
|
||||||
|
cat ${NAME}.log
|
||||||
|
echo "==== EOF ${NAME}.log: ===="
|
||||||
|
echo "==== test.log ===="
|
||||||
|
cat test.log
|
||||||
|
echo "==== EOF test.log: ===="
|
||||||
|
rlAssertNotGrep "FAIL: 1" test.log
|
||||||
|
rlFileSubmit ${NAME}.log
|
||||||
|
rlFileSubmit test.log
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlRun "popd"
|
||||||
|
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalEnd
|
Loading…
Reference in New Issue
Block a user