Add RHEL gating test
This commit is contained in:
parent
6dbcf545e4
commit
884e9fffe7
6
gating.yaml
Executable file
6
gating.yaml
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-*
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
8
tests/basic-test.sh
Executable file
8
tests/basic-test.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash -
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# Compile trivial libvirt program.
|
||||||
|
echo 'print_endline Libvirt_version.version' > virttest.ml
|
||||||
|
ocamlfind ocamlopt -package libvirt virttest.ml -linkpkg -o virttest
|
||||||
|
./virttest
|
13
tests/tests.yml
Executable file
13
tests/tests.yml
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
required_packages:
|
||||||
|
- ocaml
|
||||||
|
- ocaml-findlib
|
||||||
|
- ocaml-libvirt-devel
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: .
|
||||||
|
run: ./basic-test.sh
|
Loading…
Reference in New Issue
Block a user