Compare commits

..

2 Commits

Author SHA1 Message Date
Richard W.M. Jones
7350e8ca77 OCaml 5.2.0 ppc64le fix 2024-06-19 11:56:19 +01:00
Richard W.M. Jones
884e9fffe7 Add RHEL gating test 2024-06-19 09:36:52 +01:00
4 changed files with 31 additions and 1 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}

View File

@ -3,7 +3,7 @@ ExcludeArch: %{ix86}
Name: ocaml-libvirt
Version: 0.6.1.7
Release: 10%{?dist}
Release: 11%{?dist}
Summary: OCaml binding for libvirt
License: LGPL-2.1-or-later
@ -78,6 +78,9 @@ make install
%changelog
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.7-11
- OCaml 5.2.0 ppc64le fix
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.7-10
- OCaml 5.2.0 for Fedora 41

8
tests/basic-test.sh Executable file
View 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
View 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