# this isn't compliant with Fedora's packaging guidelines due to a naming # collision in pypi with an existing testrig project. # However, the package should work despite not being worth reviewing for # inclusion in Fedora Name: testrig Version: 0.0.10 Release: 1%{?dist} Summary: tool for running tests in a repeatable way License: MIT BuildArch: noarch URL: https://github.com/AMD-Linux-Open-Source-Graphics/testrig Source0: %{url}/archive/%{version}.tar.gz#/testrig-%{version}.tar.gz Patch0: 0001-Fixing-tests-that-were-trying-to-use-non-existant-bi.patch Patch1: 0002-reworking-tests-to-not-depend-on-external-binaries.patch Requires: git BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-hatchling BuildRequires: python3-docutils BuildRequires: python3dist(pip) BuildRequires: python3dist(packaging) BuildRequires: python3-click BuildRequires: gdb %description testrig is a tool for running tests in a repeatable way. it was written primarily to provide a consistent interface to the ROCm component self tests but might be useable in other places %prep %autosetup -p1 -n testrig-%{version} %build %pyproject_wheel rst2man docs/manpage.rst > testrig.1 %check %pytest %install %pyproject_install #%pyproject_save_files testrig mkdir -p %{buildroot}%{_mandir}/man1 install -pm 644 testrig.1* %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_datadir}/%{name} install -pm 644 support/gdb_traceback_on_stop.py %{buildroot}%{_datadir}/%{name}/gdb_traceback_on_stop.py %files -f %{pyproject_files} %{_mandir}/man1/* %{_bindir}/%{name} %{_datadir}/%{name} %doc README.md %changelog * Wed Nov 25 2026 Tim Flink - 0.0.10-1 * add script runner for interpreted tests * add junit results parsing with per-test-case results * add optional GPU utilization monitoring via amd-smi * allow output-dir to be set in config file * use timestamped log directories when testrig-logs already exists * check for test binary before execution * log package manager errors instead of discarding them * Mon Aug 24 2026 Tim Flink - 0.0.8-2 - add git as a dependency for summary generation * Thu Aug 20 2026 Tim Flink - 0.0.8-1 - new upstream release 0.0.8 * add options to log output to file instead of just stdout * add option to generate machine-readable summary of run * Mon Jul 20 2026 Tim Flink - 0.0.7-1 - move gdb-specific python file out of module * Mon Jul 20 2026 Tim Flink - 0.0.6-1 - Initial release