Compare commits

...

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

8 changed files with 61 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/pmix-2.2.5.tar.bz2
/pmix-2.2.5.tar.bz2

11
gating.yaml Normal file
View File

@ -0,0 +1,11 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (pmix-2.2.5.tar.bz2) = 4b6c80bc704a2edfd3513eee2f7d5a5b8dca79790d555d1d98d7af4fd5262f6ed939c1b0defeda8bb032b5c81dbc3dad219d8129f919572909fdc9be4b10da97

10
tests/run_tests.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
# when running this in 1minutetip the PATH must be specified to execute
# in the local directory.
echo "Setting path to local directory"
PATH=$PATH:$(pwd)
# simple sanity test
sanity.sh
exit $?

27
tests/sanity.sh Executable file
View File

@ -0,0 +1,27 @@
#!/bin/bash
#
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
# requirement.
ret=0
test="/usr/share/pmix/test/pmix_test"
$test -h
let ret=$ret+$?
$test --test-publish
let ret=$ret+$?
$test --test-connect
let ret=$ret+$?
$test --test-resolve-peers
let ret=$ret+$?
$test --test-error
let ret=$ret+$?
$test --test-internal 10
let ret=$ret+$?
exit $ret

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: . # switch to subfolder. This parameter is REQUIRED, use `dir: .` for current folder
run: ./run_tests.sh # this is your test command, its exit code is the outcome of the test
required_packages:
- pmix