Copying over missing tests directory
Resolves: RHEL-8982 Signed-off-by: John Kacur <jkacur@redhat.com>
This commit is contained in:
parent
85a94f2968
commit
f6167ccc62
@ -1,6 +1,6 @@
|
|||||||
Name: stalld
|
Name: stalld
|
||||||
Version: 1.19.1
|
Version: 1.19.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Daemon that finds starving tasks and gives them a temporary boost
|
Summary: Daemon that finds starving tasks and gives them a temporary boost
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -60,6 +60,10 @@ allow 10 microseconds of runtime for 1 second of clock time.
|
|||||||
%systemd_postun_with_restart %{name}.service
|
%systemd_postun_with_restart %{name}.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 12 2024 John Kacur <jkacur@redhat.com> - 1.19.1-3
|
||||||
|
- Copying over missing tests directory
|
||||||
|
Resolves: RHEL-8982
|
||||||
|
|
||||||
* Mon Feb 12 2024 John Kacur <jkacur@redhat.com> - 1.19.1-2
|
* Mon Feb 12 2024 John Kacur <jkacur@redhat.com> - 1.19.1-2
|
||||||
- Add llvm as a build requirement
|
- Add llvm as a build requirement
|
||||||
Resolves: RHEL-8982
|
Resolves: RHEL-8982
|
||||||
|
21
tests/scripts/run_tests.sh
Normal file
21
tests/scripts/run_tests.sh
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
# This will get uncommented once we have the rpm
|
||||||
|
# make sure we have stalld installed
|
||||||
|
if rpm -q --quiet stalld; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
sudo dnf install -y stalld
|
||||||
|
if [[ $? != 0 ]]; then
|
||||||
|
echo "install of stalld failed!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
STALLD="/usr/bin/stalld"
|
||||||
|
|
||||||
|
# See if stalld is installed and executable
|
||||||
|
$STALLD --help 2>> /dev/null
|
||||||
|
if [[ $? != 0 ]]; then
|
||||||
|
exit 2
|
||||||
|
fi
|
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: scripts
|
||||||
|
run: ./run_tests.sh
|
||||||
|
required_packages:
|
||||||
|
- stalld
|
Loading…
Reference in New Issue
Block a user