Add TMT tests and gating

f41
Petr Písař 2 years ago
parent 1d95d3868b
commit 52e3d8350c

@ -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}

@ -0,0 +1,5 @@
summary: Sanity tests
discover:
how: fmf
execute:
how: tmt

@ -0,0 +1,8 @@
summary: Building a lp_solve application
description:
Check that a lp_solve application can be compiled, linked and executed.
component: lpsolve
require:
- gcc
- lpsolve-devel
test: gcc -I/usr/include/lpsolve /usr/share/doc/lpsolve-devel/demo.c -llpsolve55 && ./a.out </dev/null

@ -0,0 +1,9 @@
summary: lp_solve tool
description:
Check that lp_solve tool can be executed and solve a simple problem.
component: lpsolve
require:
- grep
- lpsolve
test: |
echo 'max: x; x < 42;' | lp_solve -S1 | grep -e ': 42\.0*$'
Loading…
Cancel
Save