diff options
Diffstat (limited to 'meta/recipes-rt/rt-tests')
-rw-r--r-- | meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch | 10 | ||||
-rwxr-xr-x | meta/recipes-rt/rt-tests/files/rt_bmark.py | 2 | ||||
-rw-r--r-- | meta/recipes-rt/rt-tests/hwlatdetect_git.bb (renamed from meta/recipes-rt/rt-tests/hwlatdetect_1.10.bb) | 8 | ||||
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests.inc | 6 | ||||
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests_git.bb (renamed from meta/recipes-rt/rt-tests/rt-tests_1.10.bb) | 13 |
5 files changed, 19 insertions, 20 deletions
diff --git a/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch b/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch index b177ff7c5f..a1fc9e26a0 100644 --- a/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch +++ b/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b608a817df2b652cd5fa1b5a7cf14b7d2d8afd5f Mon Sep 17 00:00:00 2001 | 1 | From 7cf4cf097895bd4c3f3d3a6f783c766b3173cf1a Mon Sep 17 00:00:00 2001 |
2 | From: Randy Witt <randy.e.witt@intel.com> | 2 | From: Randy Witt <randy.e.witt@intel.com> |
3 | Date: Fri, 16 Oct 2020 16:54:30 -0700 | 3 | Date: Fri, 16 Oct 2020 16:54:30 -0700 |
4 | Subject: [PATCH] Makefile: Allow for CC and AR to be overridden | 4 | Subject: [PATCH] Makefile: Allow for CC and AR to be overridden |
@@ -9,16 +9,17 @@ commit 7763cf316d7896fa05b816a46998f0827ab6e6eb. | |||
9 | Signed-off-by: Randy Witt <randy.e.witt@intel.com> | 9 | Signed-off-by: Randy Witt <randy.e.witt@intel.com> |
10 | 10 | ||
11 | Upstream-Status: Inappropriate [other] | 11 | Upstream-Status: Inappropriate [other] |
12 | |||
12 | --- | 13 | --- |
13 | Makefile | 4 ++-- | 14 | Makefile | 4 ++-- |
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
15 | 16 | ||
16 | diff --git a/Makefile b/Makefile | 17 | diff --git a/Makefile b/Makefile |
17 | index 636f191..9f57d2c 100644 | 18 | index 223a839..a735584 100644 |
18 | --- a/Makefile | 19 | --- a/Makefile |
19 | +++ b/Makefile | 20 | +++ b/Makefile |
20 | @@ -1,6 +1,6 @@ | 21 | @@ -1,6 +1,6 @@ |
21 | VERSION = 1.10 | 22 | VERSION = 2.6 |
22 | -CC = $(CROSS_COMPILE)gcc | 23 | -CC = $(CROSS_COMPILE)gcc |
23 | -AR = $(CROSS_COMPILE)ar | 24 | -AR = $(CROSS_COMPILE)ar |
24 | +CC ?= $(CROSS_COMPILE)gcc | 25 | +CC ?= $(CROSS_COMPILE)gcc |
@@ -26,6 +27,3 @@ index 636f191..9f57d2c 100644 | |||
26 | 27 | ||
27 | OBJDIR = bld | 28 | OBJDIR = bld |
28 | 29 | ||
29 | -- | ||
30 | 2.29.2 | ||
31 | |||
diff --git a/meta/recipes-rt/rt-tests/files/rt_bmark.py b/meta/recipes-rt/rt-tests/files/rt_bmark.py index 3b84447a0f..2a4eed412f 100755 --- a/meta/recipes-rt/rt-tests/files/rt_bmark.py +++ b/meta/recipes-rt/rt-tests/files/rt_bmark.py | |||
@@ -265,7 +265,7 @@ cmd = ("cyclictest", | |||
265 | "-d", str(interval_delta), | 265 | "-d", str(interval_delta), |
266 | "-l", str(loop_count) | 266 | "-l", str(loop_count) |
267 | ) | 267 | ) |
268 | rex = re.compile(b"C:\s*(\d+).*Min:\s*(\d+).*Avg:\s*(\d+).*Max:\s*(\d+)") | 268 | rex = re.compile(r"C:\s*(\d+).*Min:\s*(\d+).*Avg:\s*(\d+).*Max:\s*(\d+)") |
269 | 269 | ||
270 | def run_cyclictest_once(): | 270 | def run_cyclictest_once(): |
271 | res = subprocess.check_output(cmd) | 271 | res = subprocess.check_output(cmd) |
diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_1.10.bb b/meta/recipes-rt/rt-tests/hwlatdetect_git.bb index 5f61c4ecdd..2dcc80965a 100644 --- a/meta/recipes-rt/rt-tests/hwlatdetect_1.10.bb +++ b/meta/recipes-rt/rt-tests/hwlatdetect_git.bb | |||
@@ -2,7 +2,7 @@ SUMMARY = "Hardware latency detector" | |||
2 | DESCRIPTION = "Python utility for controlling the kernel hardware latency detection module (hwlat_detector.ko)." | 2 | DESCRIPTION = "Python utility for controlling the kernel hardware latency detection module (hwlat_detector.ko)." |
3 | HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Cyclictest" | 3 | HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Cyclictest" |
4 | SECTION = "tests" | 4 | SECTION = "tests" |
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPL-2.0-only" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
7 | 7 | ||
8 | require rt-tests.inc | 8 | require rt-tests.inc |
@@ -21,6 +21,6 @@ do_install() { | |||
21 | sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py | 21 | sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py |
22 | } | 22 | } |
23 | 23 | ||
24 | FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" | 24 | FILES:${PN} += "${libdir}/python${PYTHON_BASEVERSION}/dist-packages/hwlatdetect.py" |
25 | RDEPENDS_${PN} = "python3-core " | 25 | RDEPENDS:${PN} = "python3-core " |
26 | RRECOMMENDS_${PN} = "kernel-module-hwlat-detector" | 26 | RRECOMMENDS:${PN} = "kernel-module-hwlat-detector" |
diff --git a/meta/recipes-rt/rt-tests/rt-tests.inc b/meta/recipes-rt/rt-tests/rt-tests.inc index 9358f13d06..70315c4694 100644 --- a/meta/recipes-rt/rt-tests/rt-tests.inc +++ b/meta/recipes-rt/rt-tests/rt-tests.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | # Version 1.8 | 1 | SRCREV = "217cd8518c5f7777d490892aa9c765a6b2782cb5" |
2 | SRCREV = "32819581cc0509c9d58c33c3061f57abe0c40c88" | 2 | PV = "2.6" |
3 | PE = "1" | 3 | PE = "1" |
4 | 4 | ||
5 | SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git;branch=unstable/devel/latest" | 5 | SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git;branch=main;protocol=https" |
6 | 6 | ||
7 | S = "${WORKDIR}/git" | 7 | S = "${WORKDIR}/git" |
diff --git a/meta/recipes-rt/rt-tests/rt-tests_1.10.bb b/meta/recipes-rt/rt-tests/rt-tests_git.bb index 2834cabcd4..ef082131e2 100644 --- a/meta/recipes-rt/rt-tests/rt-tests_1.10.bb +++ b/meta/recipes-rt/rt-tests/rt-tests_git.bb | |||
@@ -1,8 +1,9 @@ | |||
1 | SUMMARY = "Real-Time preemption testcases" | 1 | SUMMARY = "Real-Time preemption testcases" |
2 | HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Cyclictest" | 2 | HOMEPAGE = "https://wiki.linuxfoundation.org/realtime/documentation/start" |
3 | DESCRIPTION = "The main aim of the PREEMPT_RT patch is to minimize the amount of kernel code that is non-preemptible Therefore several substitution mechanisms and new mechanisms are implemented." | ||
3 | SECTION = "tests" | 4 | SECTION = "tests" |
4 | DEPENDS = "linux-libc-headers virtual/libc numactl" | 5 | DEPENDS = "linux-libc-headers virtual/libc numactl" |
5 | LICENSE = "GPLv2 & GPLv2+" | 6 | LICENSE = "GPL-2.0-only & GPL-2.0-or-later" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
7 | 8 | ||
8 | require rt-tests.inc | 9 | require rt-tests.inc |
@@ -15,7 +16,7 @@ SRC_URI += " \ | |||
15 | " | 16 | " |
16 | 17 | ||
17 | # rt-tests needs PI mutex support in libc | 18 | # rt-tests needs PI mutex support in libc |
18 | COMPATIBLE_HOST_libc-musl = 'null' | 19 | COMPATIBLE_HOST:libc-musl = 'null' |
19 | 20 | ||
20 | # Do not install hwlatdetect | 21 | # Do not install hwlatdetect |
21 | EXTRA_OEMAKE += "PYLIB=''" | 22 | EXTRA_OEMAKE += "PYLIB=''" |
@@ -29,7 +30,7 @@ do_install_ptest() { | |||
29 | cp ${WORKDIR}/rt_bmark.py ${D}${PTEST_PATH} | 30 | cp ${WORKDIR}/rt_bmark.py ${D}${PTEST_PATH} |
30 | } | 31 | } |
31 | 32 | ||
32 | RDEPENDS_${PN}-ptest += " stress-ng python3 python3-multiprocessing python3-datetime python3-misc" | 33 | RDEPENDS:${PN}-ptest += " stress-ng python3 python3-multiprocessing python3-datetime python3-misc" |
33 | 34 | ||
34 | FILES_${PN} += "${prefix}/src/backfire" | 35 | FILES:${PN} += "${prefix}/src/backfire" |
35 | RDEPENDS_${PN} += "bash" | 36 | RDEPENDS:${PN} += "bash" |