Compare commits

..

No commits in common. "c8-beta" and "c8s" have entirely different histories.
c8-beta ... c8s

9 changed files with 63 additions and 2 deletions

4
.gitignore vendored
View File

@ -1 +1,3 @@
SOURCES/rtla-6.6.0.tar.bz2
SOURCES/rtla-5.14.0.tar.bz2
/rtla-5.14.0.tar.bz2
/rtla-6.6.0.tar.bz2

View File

@ -1 +0,0 @@
731b218995866082bb9ff80ca719a02ecd6d7734 SOURCES/rtla-6.6.0.tar.bz2

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (rtla-6.6.0.tar.bz2) = 6b8cb82280b18df7653bb2c58f724a58ed34415d50de991e1e124226da0bc06ae7e2d52ae4af667e5359d8cc4031b92bc5db14529d453c488c7549fbc3c9514c

44
tests/scripts/run_tests.sh Executable file
View File

@ -0,0 +1,44 @@
#!/usr/bin/bash
# Make sure rtla is installed
if rpm -q rtla; then
:
else
# libtraceevent is a dependency of libtracefs too
sudo dnf install -y libtraceevent
if [[ $? != 0 ]]; then
echo "install of rtla dependency libtraceevent failed"
exit 1
fi
sudo dnf install -y libtracefs
if [[ $? != 0 ]]; then
echo "install of rtla dependency libtracefs failed"
exit 1
fi
sudo dnf install -y rtla
if [[ $? != 0 ]]; then
echo "install of rtla dependency libtracefs failed"
exit 1
fi
fi
rtla
if [[ $? != 1 ]]; then
# When you run rtla without a command, it exits with a failure
echo "rtla failed to run"
exit 1
fi
rtla timerlat -h
if [[ $? != 0 ]]; then
echo "rtla timerlat -h failed"
exit 1
fi
rtla osnoise -h
if [[ $? != 0 ]]; then
echo "rtla osnoise -h failed"
exit 1
fi
exit 0

9
tests/tests.yml Normal file
View File

@ -0,0 +1,9 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: scripts
run: ./run_tests.sh