21 lines
410 B
Bash
21 lines
410 B
Bash
|
#!/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
|