Add RHEL gating tests

This commit is contained in:
Richard W.M. Jones 2024-06-19 08:35:32 +01:00
parent c851ce2b41
commit 6af3a24475
3 changed files with 27 additions and 0 deletions

6
gating.yaml Executable file
View 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
View File

@ -0,0 +1,8 @@
#!/bin/bash -
set -e
set -x
# Compile trivial augeas program.
echo 'Augeas.create "/" None [AugNoLoad]' > augtest.ml
ocamlfind ocamlopt -package augeas augtest.ml -linkpkg -o augtest
./augtest

13
tests/tests.yml Executable file
View File

@ -0,0 +1,13 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- ocaml
- ocaml-findlib
- ocaml-augeas-devel
tests:
- simple:
dir: .
run: ./basic-test.sh