Resolves: #1956212 CI for anthy-unicode
This commit is contained in:
parent
3b301c95be
commit
e2112976ce
@ -4,7 +4,7 @@
|
||||
|
||||
Name: anthy-unicode
|
||||
Version: 1.0.0.20201109
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
# The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain.
|
||||
License: LGPLv2+ and GPLv2 and Public Domain
|
||||
URL: https://github.com/fujiwarat/anthy-unicode/wiki
|
||||
@ -161,6 +161,9 @@ rm test.conf
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat May 01 2021 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20201109-4
|
||||
- Enable CI
|
||||
|
||||
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.0.20201109-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
|
12
tests/tests.sh
Executable file
12
tests/tests.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
: ${SRCDIR:='./source'}
|
||||
|
||||
anthy-dic-tool-unicode --load $SRCDIR/src-util/dic-tool-input
|
||||
diff $HOME/.config/anthy/private_words_default $SRCDIR/src-util/dic-tool-result
|
||||
anthy-dic-tool-unicode --dump
|
||||
[ -d $HOME/.anthy ] || mkdir $HOME/.anthy
|
||||
mv $HOME/.config/anthy/private_words_default $HOME/.anthy
|
||||
anthy-dic-tool-unicode --migrate
|
||||
diff $HOME/.config/anthy/private_words_default $SRCDIR/src-util/dic-tool-result
|
||||
|
20
tests/tests.yml
Normal file
20
tests/tests.yml
Normal file
@ -0,0 +1,20 @@
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
required_packages:
|
||||
- git
|
||||
vars:
|
||||
fetch_only: True
|
||||
- role: standard-test-basic
|
||||
#- role: standard-test-beakerlib
|
||||
required_packages:
|
||||
- bash
|
||||
- xemacs
|
||||
- anthy-unicode
|
||||
tests:
|
||||
- smoke1:
|
||||
dir: .
|
||||
run: ./tests.sh
|
||||
|
Loading…
Reference in New Issue
Block a user