238cd5133f
Added the following upstream patches rt-tests-Fix-warnings.patch rt-tests-cyclictest-Remove-histogram-totals.patch rt-tests-cyclictest-Replace-histogram-code-with-libr.patch rt-tests-cyclicdeadline-Add-histogram-support.patch rt-tests-cyclics-Fix-json-segfault-when-not-using-hi.patch rt-tests-cyclicdeadline-Print-the-histogram-regardle.patch rt-tests-cyclicdeadline-Remove-dead-verbose-code-in-.patch rt-tests-oslat-should-use-MHz-not-Mhz.patch rt-tests-oslat-convert-to-nanoseconds-correctly.patch Added gating.yaml Added tests dir Resolves: RHEL-30184 Signed-off-by: John Kacur <jkacur@redhat.com>
46 lines
858 B
Bash
Executable File
46 lines
858 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
# make sure we have rt-tests installed
|
|
if rpm -q --quiet realtime-tests; then
|
|
:
|
|
else
|
|
sudo dnf install -y realtime-tests
|
|
if [[ $? != 0 ]]; then
|
|
echo "install of realtime-tests failed!"
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
progs="/usr/bin/cyclicdeadline
|
|
/usr/bin/cyclictest
|
|
/usr/bin/deadline_test
|
|
/usr/bin/determine_maximum_mpps.sh
|
|
/usr/bin/get_cyclictest_snapshot
|
|
/usr/bin/hackbench
|
|
/usr/bin/hwlatdetect
|
|
/usr/bin/oslat
|
|
/usr/bin/pi_stress
|
|
/usr/bin/pip_stress
|
|
/usr/bin/pmqtest
|
|
/usr/bin/ptsematest
|
|
/usr/bin/queuelat
|
|
/usr/bin/rt-migrate-test
|
|
/usr/bin/signaltest
|
|
/usr/bin/sigwaittest
|
|
/usr/bin/ssdd
|
|
/usr/bin/svsematest"
|
|
|
|
# check bins
|
|
for prog in ${progs}; do
|
|
if [[ ! -f $prog ]]; then
|
|
echo "$prog: not found"
|
|
exit 2
|
|
fi
|
|
if [[ ! -e $prog ]]; then
|
|
echo "$prog: not executable"
|
|
exit 3
|
|
fi
|
|
done
|
|
|
|
exit 0
|