blob: f9c8d1393d291706d27bcc6df200124b9cc04c0e [file] [log] [blame]
Andrew Geissler8f840682023-07-21 09:09:43 -05001From b7dd3ce1d75d1e6255e1aca82aa7f401d4246a75 Mon Sep 17 00:00:00 2001
Andrew Geisslerd5838332022-05-27 11:33:10 -05002From: Mingli Yu <mingli.yu@windriver.com>
3Date: Tue, 17 May 2022 17:22:48 +0800
4Subject: [PATCH] pyproject.toml: remove --benchmark-disable option
5
6The new version introduced below change, so remove the option
7to avoid python3-pytest-benchmark rdepends to fix the gap.
8496703c8 Refs #7079 -- added basic scaffholding for benchmarks (#7087)
9
10Fixes:
11 # ./run-ptest
12 Free memory: 31.283 GB
13 ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
14 pytest: error: unrecognized arguments: --benchmark-disable
15 inifile: /usr/lib/python3-cryptography/ptest/pyproject.toml
16 rootdir: /usr/lib/python3-cryptography/ptest
17
18Upstream-Status: Inappropriate [OE specific]
19
20Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Andrew Geissler8f840682023-07-21 09:09:43 -050021
Patrick Williams73bd93f2024-02-20 08:07:48 -060022Refresh for 42.02
23Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Andrew Geisslerd5838332022-05-27 11:33:10 -050024---
Patrick Williams73bd93f2024-02-20 08:07:48 -060025 pyproject.toml | 2 +-
26 1 file changed, 1 insertion(+), 1 deletion(-)
Andrew Geisslerd5838332022-05-27 11:33:10 -050027
28diff --git a/pyproject.toml b/pyproject.toml
Patrick Williams73bd93f2024-02-20 08:07:48 -060029index c9a7979bd..dec4b7157 100644
Andrew Geisslerd5838332022-05-27 11:33:10 -050030--- a/pyproject.toml
31+++ b/pyproject.toml
Patrick Williams73bd93f2024-02-20 08:07:48 -060032@@ -92,7 +92,7 @@ rust-version = ">=1.63.0"
33
Andrew Geisslerd5838332022-05-27 11:33:10 -050034
35 [tool.pytest.ini_options]
36-addopts = "-r s --capture=no --strict-markers --benchmark-disable"
37+addopts = "-r s --capture=no --strict-markers"
Andrew Geissler8f840682023-07-21 09:09:43 -050038 console_output_style = "progress-even-when-capture-no"
Andrew Geisslerd5838332022-05-27 11:33:10 -050039 markers = [
40 "skip_fips: this test is not executed in FIPS mode",
Patrick Williams73bd93f2024-02-20 08:07:48 -060041--
422.34.1
43