mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
This reverts commit 44010756b0ae91e0ac7715b7840285d59f991141. With the packported patch from rt-tests (67da9d8af7d8a0e1a0822e6ee99d68fa3d5a46d2) that allows build for all archs this patch can be reverted. An error is dumped in run-time is frc() is not present. (From OE-Core rev: 89ca044a9aeb73e15dbe4e29aae1b38d9823fbea) Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.1 KiB
BlitzBasic
37 lines
1.1 KiB
BlitzBasic
SUMMARY = "Real-Time preemption testcases"
|
|
HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Cyclictest"
|
|
SECTION = "tests"
|
|
DEPENDS = "linux-libc-headers virtual/libc numactl"
|
|
LICENSE = "GPLv2 & GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
require rt-tests.inc
|
|
inherit ptest
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
file://rt_bmark.py \
|
|
file://0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch \
|
|
file://0001-rt-tests-oslat-Allow-build-for-not-supported-archs.patch \
|
|
"
|
|
|
|
# rt-tests needs PI mutex support in libc
|
|
COMPATIBLE_HOST_libc-musl = 'null'
|
|
|
|
# Do not install hwlatdetect
|
|
EXTRA_OEMAKE += "PYLIB=''"
|
|
|
|
do_install() {
|
|
oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} \
|
|
INCLUDEDIR=${includedir}
|
|
}
|
|
|
|
do_install_ptest() {
|
|
cp ${WORKDIR}/rt_bmark.py ${D}${PTEST_PATH}
|
|
}
|
|
|
|
RDEPENDS_${PN}-ptest += " stress-ng python3 python3-multiprocessing python3-datetime python3-misc"
|
|
|
|
FILES_${PN} += "${prefix}/src/backfire"
|
|
RDEPENDS_${PN} += "bash"
|