Add RHEL gating test
(cherry picked from commit e00b4bbeaa7fe421331f0e52cdc6a10039f7c7b6)
This commit is contained in:
parent
e1e2e0989b
commit
2e4ce3e749
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 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
|
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-calendar-devel
|
||||
tests:
|
||||
- simple:
|
||||
dir: .
|
||||
run: ./basic-test.sh
|
Loading…
Reference in New Issue
Block a user