Add gating tests

resolves: rhbz#1682780

(cherry picked from commit b2bff83949c386298fabc4e1766ea96b91e947c4)
This commit is contained in:
Richard W.M. Jones 2019-03-21 15:48:48 +00:00
parent 7e750929c5
commit 453a41f698
3 changed files with 25 additions and 0 deletions

6
gating.yaml Normal file
View File

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

7
tests/basic-test.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash -
set -e
set -x
# I'd like to use the test:/// driver but it doesn't support the right
# APIs.
virt-top --stream -d 1 -n 3 --debug /dev/stdout

12
tests/tests.yml Normal file
View File

@ -0,0 +1,12 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- libvirt-daemon
- virt-top
tests:
- simple:
dir: .
run: ./basic-test.sh