Add gating
Run same test as in %check
This commit is contained in:
parent
092e516c36
commit
2722acb941
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
|
16
tests/unit.fmf
Normal file
16
tests/unit.fmf
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
test: |
|
||||||
|
cd $(dirname $TMT_SOURCE_DIR/*/spec)
|
||||||
|
FAILFILE=()
|
||||||
|
FAILTEST=()
|
||||||
|
FAILFILE+=("spec/thread_order_spec.rb")
|
||||||
|
FAILTEST+=("is implemented without depending on the stdlib")
|
||||||
|
for ((i = 0; i < ${#FAILFILE[@]}; i++)) {
|
||||||
|
sed -i \
|
||||||
|
-e "\@${FAILTEST[$i]}@s|do$|, :broken => true do|" \
|
||||||
|
${FAILFILE[$i]}
|
||||||
|
}
|
||||||
|
rspec spec/ --tag ~broken
|
||||||
|
require:
|
||||||
|
- rubygem-thread_order
|
||||||
|
tag:
|
||||||
|
- rhel-buildroot
|
Loading…
Reference in New Issue
Block a user