Add gating and simple unit test wrapper
This commit is contained in:
parent
71c9f5bab2
commit
57dac7bf2e
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
8
plans/main.fmf
Normal file
8
plans/main.fmf
Normal file
@ -0,0 +1,8 @@
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
discover:
|
||||
dist-git-source: true
|
||||
dist-git-merge: true
|
||||
how: fmf
|
||||
dist-git-install-builddeps: true
|
20
tests/unit.fmf
Normal file
20
tests/unit.fmf
Normal file
@ -0,0 +1,20 @@
|
||||
test: |
|
||||
cd $(dirname $TMT_SOURCE_DIR/kramdown*/test)
|
||||
export LANG=C.UTF-8
|
||||
|
||||
# Only on RHEL like (see %check in .spec)
|
||||
# Avoid unwanted stringex dependency
|
||||
sed -i test/testcases/block/04_header/with_auto_ids.options \
|
||||
-e '\@transliterated_header_ids@s|true|false|'
|
||||
sed -i \
|
||||
test/testcases/block/04_header/with_auto_ids.* \
|
||||
-e '\@[Tr]ransliterated@d'
|
||||
|
||||
sed -i.skip test/test_files.rb \
|
||||
-e "\@EXCLUDE_LATEX_FILES =@s|^\(.*\)$|\1 'test/testcases/block/04_header/with_auto_ids.text', #texlive 2022|"
|
||||
|
||||
ruby -e 'Dir.glob "./test/test_*.rb", &method(:require)'
|
||||
require:
|
||||
- rubygem-kramdown
|
||||
tag:
|
||||
- rhel-buildroot
|
Loading…
Reference in New Issue
Block a user