diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..4ca9235 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans/main.fmf b/plans/main.fmf new file mode 100644 index 0000000..0357309 --- /dev/null +++ b/plans/main.fmf @@ -0,0 +1,8 @@ +execute: + how: tmt + +discover: + dist-git-source: true + dist-git-merge: true + how: fmf + dist-git-install-builddeps: true diff --git a/tests/unit.fmf b/tests/unit.fmf new file mode 100644 index 0000000..759c74d --- /dev/null +++ b/tests/unit.fmf @@ -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