parent
99132b92bf
commit
6a885af5a6
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
# this is the testcase identifier, which OSCI pipeline uses
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: ibus-hangul
|
Name: ibus-hangul
|
||||||
Version: 1.5.4
|
Version: 1.5.4
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: The Hangul engine for IBus input platform
|
Summary: The Hangul engine for IBus input platform
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/libhangul/ibus-hangul
|
URL: https://github.com/libhangul/ibus-hangul
|
||||||
@ -73,14 +73,6 @@ make check \
|
|||||||
DISABLE_GUI_TESTS="ibus-hangul" \
|
DISABLE_GUI_TESTS="ibus-hangul" \
|
||||||
VERBOSE=1
|
VERBOSE=1
|
||||||
|
|
||||||
%post
|
|
||||||
[ -x %{_bindir}/ibus ] && \
|
|
||||||
%{_bindir}/ibus write-cache --system &>/dev/null || :
|
|
||||||
|
|
||||||
%postun
|
|
||||||
[ -x %{_bindir}/ibus ] && \
|
|
||||||
%{_bindir}/ibus write-cache --system &>/dev/null || :
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS COPYING README
|
||||||
%{_libexecdir}/ibus-engine-hangul
|
%{_libexecdir}/ibus-engine-hangul
|
||||||
@ -99,6 +91,10 @@ make check \
|
|||||||
%{_datadir}/installed-tests/ibus-hangul
|
%{_datadir}/installed-tests/ibus-hangul
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 19 2021 Peng Wu <pwu@redhat.com> - 1.5.4-6
|
||||||
|
- Clean up ibus write-cache in scriptlet
|
||||||
|
- Resolves: #1974626
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.4-5
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.4-5
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
@ -54,15 +54,17 @@
|
|||||||
ANSIBLE: 1
|
ANSIBLE: 1
|
||||||
TMPDIR: '{{ remote_artifacts }}'
|
TMPDIR: '{{ remote_artifacts }}'
|
||||||
G_MESSAGES_DEBUG: 'all'
|
G_MESSAGES_DEBUG: 'all'
|
||||||
|
LANG: 'C.UTF-8'
|
||||||
block:
|
block:
|
||||||
- name: Execute IBus hangul tests
|
- name: Execute IBus hangul tests
|
||||||
shell: |
|
shell: |
|
||||||
set -e
|
set -e
|
||||||
|
# Delete LC_CTYPE=C.UTF-8
|
||||||
|
export -n LC_CTYPE
|
||||||
status="FAIL: frame"
|
status="FAIL: frame"
|
||||||
ibus-desktop-testing-runner \
|
ibus-desktop-testing-runner \
|
||||||
--no-graphics \
|
--no-graphics \
|
||||||
--runner=gnome \
|
--runner=gnome \
|
||||||
--timeout=1200 \
|
|
||||||
--tests='{{ installed_test_name }}' \
|
--tests='{{ installed_test_name }}' \
|
||||||
--output='{{ remote_artifacts }}/{{ installed_test_name }}.log' \
|
--output='{{ remote_artifacts }}/{{ installed_test_name }}.log' \
|
||||||
--result='{{ remote_artifacts }}/test.log' \
|
--result='{{ remote_artifacts }}/test.log' \
|
||||||
@ -70,30 +72,35 @@
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
status="PASS: frame"
|
status="PASS: frame"
|
||||||
fi
|
fi
|
||||||
echo "${status} $TEST" >> {{ remote_artifacts }}/test.log
|
echo "${status}" >> {{ remote_artifacts }}/test.log
|
||||||
|
echo "#### {{ remote_artifacts }}/{{ installed_test_name }}.log"
|
||||||
|
if [ -f {{ remote_artifacts }}/{{ installed_test_name }}.log ] ; then
|
||||||
|
cat {{ remote_artifacts }}/{{ installed_test_name }}.log
|
||||||
|
fi
|
||||||
|
echo "#"
|
||||||
|
echo "#### {{ remote_artifacts }}/test.log"
|
||||||
|
if [ -f {{ remote_artifacts }}/test.log ] ; then
|
||||||
|
cat {{ remote_artifacts }}/test.log
|
||||||
|
fi
|
||||||
|
echo "#"
|
||||||
|
|
||||||
- name: Check the results
|
- name: Check the results
|
||||||
shell: |
|
shell: |
|
||||||
IS_RAWHIDE=`grep -i rawhide /etc/fedora-release`
|
IS_RAWHIDE=`grep -i rawhide /etc/fedora-release`
|
||||||
if [ x"$IS_RAWHIDE" != x ] ; then
|
if [ x"$IS_RAWHIDE" != x ] ; then
|
||||||
echo PASS
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
log="{{ remote_artifacts }}/test.log"
|
log="{{ remote_artifacts }}/test.log"
|
||||||
if [ ! -f $log ] ; then
|
if [ ! -f $log ] ; then
|
||||||
echo ERROR
|
echo ERROR
|
||||||
exit 1
|
|
||||||
else
|
else
|
||||||
FAIL=`grep "^FAIL: " $log | grep -v 'FAIL: 0$'`
|
FAIL=`grep "^FAIL: " $log | grep -v 'FAIL: 0$'`
|
||||||
if [ x"$FAIL" != x ] ; then
|
if [ x"$FAIL" != x ] ; then
|
||||||
echo ERROR
|
echo ERROR
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
echo PASS
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
register: test_fails
|
register: test_fails
|
||||||
#failed_when: False
|
failed_when: False
|
||||||
|
|
||||||
- name: Set role result
|
- name: Set role result
|
||||||
set_fact:
|
set_fact:
|
||||||
|
Loading…
Reference in New Issue
Block a user