parent
2b7e80a721
commit
ac23a85591
1
tests/.fmf/version
Normal file
1
tests/.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
11
tests/full_tests.yml
Normal file
11
tests/full_tests.yml
Normal file
@ -0,0 +1,11 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- tlogtests:
|
||||
dir: scripts
|
||||
run: ./run_tests.sh
|
||||
required_packages:
|
||||
- git
|
5
tests/provision.fmf
Normal file
5
tests/provision.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
standard-inventory-qcow2:
|
||||
qemu:
|
||||
m: 4G
|
||||
smp: cpus=4,sockets=4,maxcpus=16
|
20
tests/scripts/run_tests.sh
Executable file
20
tests/scripts/run_tests.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
RETVAL=0
|
||||
|
||||
dnf -y install expect beakerlib make restraint-rhts
|
||||
|
||||
. /usr/share/beakerlib/beakerlib.sh
|
||||
if rlIsRHEL '>=9'; then
|
||||
dnf --enablerepo rhel-buildroot install python3-pytest -y
|
||||
fi
|
||||
|
||||
git clone https://github.com/Scribery/tlog.git
|
||||
pushd tlog/src/tlitest
|
||||
./tlitest-setup
|
||||
./tlitest-run --junit-xml=/tmp/artifacts/junit.xml $*
|
||||
#./teltest-teardown
|
||||
RETVAL=$(( RETVAL + $? ))
|
||||
popd
|
||||
|
||||
exit $RETVAL
|
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:
|
||||
- tlogtests:
|
||||
dir: scripts
|
||||
run: ./run_tests.sh -m tier1
|
||||
required_packages:
|
||||
- git
|
Loading…
Reference in New Issue
Block a user