Do not run the Gtk GUI test from the spec file.
This commit is contained in:
parent
a5146d6de5
commit
5f7dcf546e
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: ibus-typing-booster
|
Name: ibus-typing-booster
|
||||||
Version: 2.8.3
|
Version: 2.8.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A completion input method
|
Summary: A completion input method
|
||||||
License: GPLv3+, ASL 2.0
|
License: GPLv3+, ASL 2.0
|
||||||
URL: https://mike-fabian.github.io/ibus-typing-booster/
|
URL: https://mike-fabian.github.io/ibus-typing-booster/
|
||||||
@ -168,18 +168,6 @@ dconf write /org/freedesktop/ibus/engine/typing-booster/keybindings "{'next_inpu
|
|||||||
dconf dump /
|
dconf dump /
|
||||||
export DISPLAY=:1
|
export DISPLAY=:1
|
||||||
Xvfb $DISPLAY -screen 0 1024x768x16 &
|
Xvfb $DISPLAY -screen 0 1024x768x16 &
|
||||||
make -C tests run_tests
|
|
||||||
pushd tests
|
|
||||||
./run_tests -v test_compose_sequences.py
|
|
||||||
./run_tests -v test_emoji_candidates.py
|
|
||||||
./run_tests -v test_emoji_similar.py
|
|
||||||
./run_tests -v test_emoji_unicode_version.py
|
|
||||||
./run_tests -v test_hunspell_suggest.py
|
|
||||||
./run_tests -v test_itb.py
|
|
||||||
./run_tests -v test_itb_util.py
|
|
||||||
./run_tests -v test_keyvals_to_keycodes.py
|
|
||||||
./run_tests -v test_m17n_db_info.py
|
|
||||||
./run_tests -v test_m17n_translit.py
|
|
||||||
# A window manager and and ibus-daemon are needed to run the GUI
|
# A window manager and and ibus-daemon are needed to run the GUI
|
||||||
# test tests/test_gtk.py, for example i3 can be used.
|
# test tests/test_gtk.py, for example i3 can be used.
|
||||||
#
|
#
|
||||||
@ -192,15 +180,18 @@ pushd tests
|
|||||||
#
|
#
|
||||||
# vncviewer /var/lib/mock/fedora-32-x86_64/root/tmp/mysock
|
# vncviewer /var/lib/mock/fedora-32-x86_64/root/tmp/mysock
|
||||||
#
|
#
|
||||||
# The GUI test will be skipped if there is no DISPLAY or no
|
# The GUI test will be skipped if XDG_SESSION_TYPE is not x11 or wayland.
|
||||||
# window manager.
|
|
||||||
#
|
#
|
||||||
ibus-daemon -drx
|
#ibus-daemon -drx
|
||||||
touch /tmp/i3config
|
#touch /tmp/i3config
|
||||||
i3 -c /tmp/i3config &
|
#i3 -c /tmp/i3config &
|
||||||
sleep 1
|
#export XDG_SESSION_TYPE=x11
|
||||||
XDG_SESSION_TYPE=x11 ./run_tests -v test_0_gtk.py
|
|
||||||
popd
|
make check && rc=0 || rc=1
|
||||||
|
cat tests/*.log
|
||||||
|
if [ $rc != 0 ] ; then
|
||||||
|
exit $rc
|
||||||
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
[ -x %{_bindir}/ibus ] && \
|
[ -x %{_bindir}/ibus ] && \
|
||||||
@ -239,6 +230,9 @@ popd
|
|||||||
%{_datadir}/applications/emoji-picker.desktop
|
%{_datadir}/applications/emoji-picker.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 15 2020 Mike FABIAN <mfabian@redhat.com> - 2.8.3-2
|
||||||
|
- Do not run the Gtk GUI test from the spec file.
|
||||||
|
|
||||||
* Sun May 03 2020 Mike FABIAN <mfabian@redhat.com> - 2.8.3-1
|
* Sun May 03 2020 Mike FABIAN <mfabian@redhat.com> - 2.8.3-1
|
||||||
- Update to 2.8.3
|
- Update to 2.8.3
|
||||||
- Save default dictionaries and input methods when making the lists
|
- Save default dictionaries and input methods when making the lists
|
||||||
|
Loading…
Reference in New Issue
Block a user