Adding opensm gating test
This commit is contained in:
parent
929c981285
commit
d2ccd3b055
10
tests/run_tests.sh
Executable file
10
tests/run_tests.sh
Executable 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 $?
|
9
tests/sanity.sh
Executable file
9
tests/sanity.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
|
||||||
|
# requirement.
|
||||||
|
|
||||||
|
osmtest -p
|
||||||
|
ret=$?
|
||||||
|
|
||||||
|
exit $ret
|
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal 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:
|
||||||
|
- opensm
|
Loading…
Reference in New Issue
Block a user