rt-tests/rt-tests.spec
Martin Pluskal 09c34f694c Accepting request 815266 from home:Jeffreycheung:branches:benchmark
- Update to version 1.6:
  * New feature to get a snapshot of a running instance of cyclictest without stopping it by 
    sending SIGUSR2 to the PID and reading a shared memory segment. This is especially useful 
    if running cyclictest over a long period of time
  * Add SPDX tags V3
  * Some fixes
- Changes from version 1.5
  * Mostly small clean-ups and bug fixes
  
- Changes from version 1.4
  * Added a number of new programs to the rt-tests suite
    - queuelat : simulates a network queue checking for latency violations in packet processing.
    - cyclicdeadline : used to test the deadline scheduler (SCHED_DEADLINE)
    - deadline_test : tests the deadline scheduler in a cyclictest manner
    - ssdd : a tracer to do a bunch of PTRACE_SINGLESTEPs

OBS-URL: https://build.opensuse.org/request/show/815266
OBS-URL: https://build.opensuse.org/package/show/benchmark/rt-tests?expand=0&rev=17
2020-06-16 14:27:14 +00:00

92 lines
2.7 KiB
RPMSpec

#
# spec file for package rt-tests
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: rt-tests
Version: 1.6
Release: 0
Summary: Realtime Kernel Testsuite
License: GPL-2.0-only
Group: System/Benchmark
URL: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git
Source0: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/rt-tests-%{version}.tar.gz
Patch1: rt-tests-1.6-Makefile.patch
BuildRequires: libnuma-devel
BuildRequires: python-rpm-macros
BuildRequires: python3-base
Conflicts: hackbench
# Only supported on intel architectures
ExclusiveArch: %{ix86} x86_64
%description
The Realtime Kernel Testsuite measures real-time attributes of the kernel,
specifically timer and signal latency and the functionality of Priority
Inheritance Mutexes.
%prep
%setup -q
%patch1 -p1
%build
export CFLAGS="%{optflags}"
%make_build
%install
%make_install prefix=%{_prefix}
rm -rf %{buildroot}%{_prefix}/src/backfire
%files
%license COPYING
%doc MAINTAINERS README.markdown
%{_bindir}/cyclicdeadline
%{_bindir}/cyclictest
%{_bindir}/deadline_test
%{_bindir}/hackbench
%{_bindir}/hwlatdetect
%{_bindir}/pi_stress
%{_bindir}/pip_stress
%{_bindir}/pmqtest
%{_bindir}/ptsematest
%{_bindir}/queuelat
%{_bindir}/rt-migrate-test
%{_bindir}/sendme
%{_bindir}/signaltest
%{_bindir}/sigwaittest
%{_bindir}/svsematest
%{_bindir}/ssdd
%{_bindir}/get_cpuinfo_mhz.sh
%{_bindir}/determine_maximum_mpps.sh
%{python3_sitelib}/hwlatdetect.py
%{_mandir}/man4/backfire.4%{?ext_man}
%{_mandir}/man8/cyclictest.8%{?ext_man}
%{_mandir}/man8/hackbench.8%{?ext_man}
%{_mandir}/man8/hwlatdetect.8%{?ext_man}
%{_mandir}/man8/pi_stress.8%{?ext_man}
%{_mandir}/man8/pmqtest.8%{?ext_man}
%{_mandir}/man8/ptsematest.8%{?ext_man}
%{_mandir}/man8/rt-migrate-test.8%{?ext_man}
%{_mandir}/man8/sendme.8%{?ext_man}
%{_mandir}/man8/signaltest.8%{?ext_man}
%{_mandir}/man8/sigwaittest.8%{?ext_man}
%{_mandir}/man8/svsematest.8%{?ext_man}
%{_mandir}/man8/ssdd.8%{?ext_man}
%{_mandir}/man8/queuelat.8%{?ext_man}
%{_mandir}/man8/pip_stress.8%{?ext_man}
%{_mandir}/man8/deadline_test.8%{?ext_man}
%changelog