Add RHEL gating test

This commit is contained in:
Richard W.M. Jones 2024-06-19 13:46:04 +01:00
parent dc90075ef1
commit f029a3cf43
3 changed files with 25 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}

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

@ -0,0 +1,7 @@
#!/bin/bash -
set -e
set -x
# There's not really any reason to test this as chain builds
# use findlib extensively. Just check the binary functions.
ocamlfind query findlib

12
tests/tests.yml Executable file
View File

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