Include tests

Resolves: RHEL-45223

Signed-off-by: Štěpán Horáček <shoracek@redhat.com>
This commit is contained in:
Štěpán Horáček 2024-08-08 16:26:21 +02:00
parent 79e43659a5
commit 028182cb69
3 changed files with 35 additions and 0 deletions

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

4
tests/runtest.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /var/str/source
pytest -v test

24
tests/tests.yml Normal file
View File

@ -0,0 +1,24 @@
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
required_packages:
- git
- role: standard-test-basic
tags:
- classic
required_packages:
- tpm2-tss
- tpm2-tss-devel
- tpm2-tools
- swtpm
- python3
- dbus-daemon
- pytest
tests:
- intel-tpm2:
dir: .
run: dbus-run-session ./runtest.sh
timeout: 60m