Enable TMT tests and gating
This commit is contained in:
parent
a140636d43
commit
5d33082409
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
5
plans/sanity.fmf
Normal file
5
plans/sanity.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Sanity tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
5
tests/upstream-tests.fmf
Normal file
5
tests/upstream-tests.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Upstream tests
|
||||
component: unpaper
|
||||
require: unpaper-tests
|
||||
test: /usr/libexec/unpaper/test
|
||||
duration: 12m
|
@ -106,7 +106,6 @@ cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||
export TEST_IMGSRC_DIR=tests/source_images
|
||||
export TEST_GOLDEN_DIR=tests/golden_images
|
||||
export TEST_UNPAPER_BINARY=%{_bindir}/unpaper
|
||||
# 391 seconds single-threaded
|
||||
cd %{_libexecdir}/%{name} && exec pytest -v -n "$(getconf _NPROCESSORS_ONLN)" tests/unpaper_tests.py
|
||||
EOF
|
||||
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||
|
Loading…
Reference in New Issue
Block a user