mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-05 15:07:13 +00:00
python3-construct: new recipe version 2.10.70
Recipe taken from meta-homeassistant of Tom Geelen. Added ptests. But removed the tests with binary data (e.g. .so file). Those tests gave to much issues with QA rules of Yocto/Openembedded. Moved from pypi to github to have all test code. Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
c2c8827787
commit
356405bad1
4 files changed
+91
No files matched your search
+25
@@ -0,0 +1,25 @@
|
||||
From b8d0ba87f629cc6065a2d06cedc5e850407c45de Mon Sep 17 00:00:00 2001
|
||||
From: Franz Haas <franz.dominik.haas@gmail.com>
|
||||
Date: Tue, 17 Sep 2024 11:23:28 +0200
|
||||
Subject: [PATCH 1/1] - add pytest.ini file to enable pytest 8.x.y to find the
|
||||
tests
|
||||
|
||||
Upstream-Status: Backport [https://github.com/construct/construct/commit/b8d0ba87f629cc6065a2d06cedc5e850407c45de]
|
||||
|
||||
---
|
||||
pytest.ini | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
create mode 100644 pytest.ini
|
||||
|
||||
diff --git a/pytest.ini b/pytest.ini
|
||||
new file mode 100644
|
||||
index 0000000..f5a52af
|
||||
--- /dev/null
|
||||
+++ b/pytest.ini
|
||||
@@ -0,0 +1,3 @@
|
||||
+[pytest]
|
||||
+pythonpath = .
|
||||
+
|
||||
--
|
||||
2.47.3
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
From 7acb7aa51db762a723d85b81262ca14614dbeac0 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Vermaete <jan.vermaete@gmail.com>
|
||||
Date: Mon, 14 Sep 2026 10:24:51 +0200
|
||||
Subject: [PATCH 2/2] pytest.ini: disable the benchmark
|
||||
|
||||
Benchmark is also disabled in the github workflow of the project
|
||||
|
||||
Upstream-Status: Inappropriate [oe specific]
|
||||
|
||||
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
|
||||
---
|
||||
pytest.ini | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pytest.ini b/pytest.ini
|
||||
index f5a52af..4b1b4b6 100644
|
||||
--- a/pytest.ini
|
||||
+++ b/pytest.ini
|
||||
@@ -1,3 +1,3 @@
|
||||
[pytest]
|
||||
pythonpath = .
|
||||
-
|
||||
+addopts = --benchmark-disable
|
||||
--
|
||||
2.43.0
|
||||
|
||||
Reference in new issue
Block a user