Resolves:RHEL-52301 - Add conditional for RHEL for using hunspell directory
Add tmt CI tests
This commit is contained in:
parent
6c8f90e549
commit
f769f8d09a
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
@ -1,13 +1,14 @@
|
||||
%if 0%{?fedora} > 35
|
||||
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||
%global dict_dirname hunspell
|
||||
%else
|
||||
%global dict_dirname myspell
|
||||
%endif
|
||||
|
||||
Name: hunspell-or
|
||||
Summary: Odia hunspell dictionaries
|
||||
Version: 1.0.0
|
||||
Epoch: 1
|
||||
Release: 25%{?dist}
|
||||
Release: 26%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://gitorious.org/hunspell_dictionaries/hunspell_dictionaries.git
|
||||
Source0: http://anishpatil.fedorapeople.org/or_in.%{version}.tar.gz
|
||||
@ -39,6 +40,10 @@ cp -p or_IN/*.dic or_IN/*.aff %{buildroot}%{_datadir}/%{dict_dirname}
|
||||
%{_datadir}/%{dict_dirname}/*
|
||||
|
||||
%changelog
|
||||
* Sat Aug 03 2024 Parag Nemade <pnemade AT redhat DOT com> - 1:1.0.0-26
|
||||
- Resolves:RHEL-52301 - Add conditional for RHEL for using hunspell directory
|
||||
- Add tmt CI tests
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:1.0.0-25
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
|
||||
5
plans/hunspell-or.fmf
Normal file
5
plans/hunspell-or.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
python3 test_suggest_words.py
|
||||
python3 test_dic_availability.py
|
||||
6
tests/test_dic_availability.fmf
Normal file
6
tests/test_dic_availability.fmf
Normal file
@ -0,0 +1,6 @@
|
||||
require:
|
||||
- python3-enchant
|
||||
- hunspell-or
|
||||
test: python3 test_dic_availability.py
|
||||
framework: shell
|
||||
|
||||
6
tests/test_suggest_words.fmf
Normal file
6
tests/test_suggest_words.fmf
Normal file
@ -0,0 +1,6 @@
|
||||
require:
|
||||
- python3-enchant
|
||||
- hunspell-or
|
||||
test: python3 test_suggest_words.py
|
||||
framework: shell
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- python3-enchant
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- sample:
|
||||
dir: scripts/
|
||||
run: ./run_tests.sh
|
||||
Loading…
Reference in New Issue
Block a user