diff --git a/gating.yaml b/gating.yaml new file mode 100755 index 0000000..2c7ed80 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/basic-test.sh b/tests/basic-test.sh new file mode 100755 index 0000000..3ebee39 --- /dev/null +++ b/tests/basic-test.sh @@ -0,0 +1,8 @@ +#!/bin/bash - +set -e +set -x + +# Compile trivial calendar program. +echo 'CalendarLib.Calendar.Period.make 0 0 0 1 0 0' > caltest.ml +ocamlfind ocamlopt -package calendar caltest.ml -linkpkg -o caltest +./caltest diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100755 index 0000000..a652627 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + - ocaml + - ocaml-findlib + - ocaml-calendar-devel + tests: + - simple: + dir: . + run: ./basic-test.sh