Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
From b7dd3ce1d75d1e6255e1aca82aa7f401d4246a75 Mon Sep 17 00:00:00 2001
|
||||
From: Mingli Yu <mingli.yu@windriver.com>
|
||||
Date: Tue, 17 May 2022 17:22:48 +0800
|
||||
Subject: [PATCH] pyproject.toml: remove --benchmark-disable option
|
||||
|
||||
The new version introduced below change, so remove the option
|
||||
to avoid python3-pytest-benchmark rdepends to fix the gap.
|
||||
496703c8 Refs #7079 -- added basic scaffholding for benchmarks (#7087)
|
||||
|
||||
Fixes:
|
||||
# ./run-ptest
|
||||
Free memory: 31.283 GB
|
||||
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
|
||||
pytest: error: unrecognized arguments: --benchmark-disable
|
||||
inifile: /usr/lib/python3-cryptography/ptest/pyproject.toml
|
||||
rootdir: /usr/lib/python3-cryptography/ptest
|
||||
|
||||
Upstream-Status: Inappropriate [OE specific]
|
||||
|
||||
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
||||
|
||||
Refresh for 42.02
|
||||
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
|
||||
---
|
||||
pyproject.toml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index c9a7979bd..dec4b7157 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -92,7 +92,7 @@ rust-version = ">=1.63.0"
|
||||
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
-addopts = "-r s --capture=no --strict-markers --benchmark-disable"
|
||||
+addopts = "-r s --capture=no --strict-markers"
|
||||
console_output_style = "progress-even-when-capture-no"
|
||||
markers = [
|
||||
"skip_fips: this test is not executed in FIPS mode",
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
# https://stackoverflow.com/questions/22102999/get-total-physical-memory-in-python/28161352
|
||||
import sys
|
||||
meminfo = dict((i.split()[0].rstrip(':'),int(i.split()[1])) for i in open('/proc/meminfo').readlines())
|
||||
mem_free = meminfo['MemTotal']/1024./1024.
|
||||
if mem_free < 2.:
|
||||
print("Insufficient free memory({:.3f}): requires > 2 GB".format(mem_free))
|
||||
sys.exit(1)
|
||||
else:
|
||||
print("Free memory: {:.3f} GB".format(mem_free))
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ./check-memfree.py; then
|
||||
# Skip the bench test module, we don't yet have pytest3-benchmark in core
|
||||
# and these are more benchmarks than unit tests.
|
||||
pytest --automake -k 'not bench'
|
||||
else
|
||||
echo "SKIP: crytography.not_enough_memory"
|
||||
fi
|
||||
Reference in New Issue
Block a user