Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed90f95916 | ||
|
|
80d1caa5bc | ||
|
|
b818691011 | ||
|
|
9f2261715c |
8 changed files with 43 additions and 14 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
11
anthy.spec
11
anthy.spec
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
Name: anthy
|
||||
Version: 9100h
|
||||
Release: 56%{?dist}
|
||||
Release: 59%{?dist}
|
||||
# The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain.
|
||||
License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain
|
||||
URL: http://sourceforge.jp/projects/anthy/
|
||||
|
|
@ -179,6 +179,15 @@ popd
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-59
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-58
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 9100h-57
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Sep 19 2024 Akira TAGOH <tagoh@redhat.com> - 9100h-56
|
||||
- Fix an infinite loop when missing EOL in record file.
|
||||
Resolves: rhbz#1944546
|
||||
|
|
|
|||
5
plans/basic.fmf
Normal file
5
plans/basic.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
5
tests/basic/main.fmf
Normal file
5
tests/basic/main.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: Basic test for anthy
|
||||
require:
|
||||
- anthy
|
||||
test: ./test.sh
|
||||
framework: beakerlib
|
||||
14
tests/basic/test.sh
Executable file
14
tests/basic/test.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
|
||||
basedir=$(pwd)
|
||||
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartTest
|
||||
rlRun "cat word.txt | iconv -f utf-8 -t euc-jp | anthy-dic-tool --load 0 "Registering a word to dict"
|
||||
rlRun "anthy-dic-tool --dump | iconv -f euc-jp -t utf-8 | grep -v "#" | tee output" 0 "Dumping dict"
|
||||
rlRun "diff -u word.txt output" 0 "Check difference"
|
||||
rlPhaseEnd
|
||||
rlJournalEnd
|
||||
8
tests/basic/word.txt
Normal file
8
tests/basic/word.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
てすと 1 テスト
|
||||
格助詞接続 = y
|
||||
語幹のみで文節 = y
|
||||
する接続 = y
|
||||
さ接続 = y
|
||||
な接続 = y
|
||||
品詞 = 名詞
|
||||
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
echo "RESULT: PASS"
|
||||
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- anthy
|
||||
tests:
|
||||
- run: ./runtest.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue