From f83c7bc75732cccacac21dcff65bfe31bdeac65bf4debf9898285399ed7fb4f9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 30 Jan 2025 08:34:46 +0000 Subject: [PATCH] - Add ExclusiveArch x86_64 and aarch64 (unfortunately the code itself checks for the architecture, so we cannot go with ExcludeArch) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-codspeed?expand=0&rev=5 --- python-pytest-codspeed.changes | 3 +++ python-pytest-codspeed.spec | 2 ++ 2 files changed, 5 insertions(+) diff --git a/python-pytest-codspeed.changes b/python-pytest-codspeed.changes index 16b370a..68ad8ef 100644 --- a/python-pytest-codspeed.changes +++ b/python-pytest-codspeed.changes @@ -2,6 +2,9 @@ Thu Jan 30 06:27:34 UTC 2025 - Matej Cepl - Make tests work (and also add the patch make_tests_work.patch) +- Add ExclusiveArch x86_64 and aarch64 (unfortunately the code + itself checks for the architecture, so we cannot go with + ExcludeArch) ------------------------------------------------------------------- Thu Jan 16 18:48:11 UTC 2025 - marec diff --git a/python-pytest-codspeed.spec b/python-pytest-codspeed.spec index 26f351e..567bbb6 100644 --- a/python-pytest-codspeed.spec +++ b/python-pytest-codspeed.spec @@ -31,6 +31,7 @@ Release: 0 Summary: A pytest plugin to create CodSpeed benchmarks License: MIT URL: https://github.com/CodSpeedHQ/pytest-codspeed +ExclusiveArch: x86_64 aarch64 Source: https://files.pythonhosted.org/packages/source/p/pytest_codspeed/pytest_codspeed-%{version}.tar.gz # PATCH-{FIX|FEATURE}-{OPENSUSE|SLE|UPSTREAM} name-of-file.patch bsc#[0-9]+ mcepl@suse.com # this patch makes things totally awesome @@ -74,6 +75,7 @@ export PYTEST_CODSPEED_FORCE_EXTENSION_BUILD=1 %check %if %{with test} +export PYTEST_CODSPEED_FORCE_VALGRIND_TESTS=1 %pytest %endif