262ae467d1
We need RHEL9 builds to be gated. Resolves: rhbz#1957366
21 lines
410 B
Bash
Executable File
21 lines
410 B
Bash
Executable File
#!/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
|