tlog/tests/scripts/run_tests.sh
Scott Poore 262ae467d1 Add gating.yaml and tests for RHEL9
We need RHEL9 builds to be gated.

Resolves: rhbz#1957366
2021-05-05 13:13:02 -05:00

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