diff options
Diffstat (limited to 'meta/recipes-rt/rt-tests/rt-tests_git.bb')
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests_git.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-rt/rt-tests/rt-tests_git.bb b/meta/recipes-rt/rt-tests/rt-tests_git.bb new file mode 100644 index 0000000000..89e3323b69 --- /dev/null +++ b/meta/recipes-rt/rt-tests/rt-tests_git.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | SUMMARY = "Real-Time preemption testcases" | ||
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." | ||
4 | SECTION = "tests" | ||
5 | DEPENDS = "linux-libc-headers virtual/libc numactl" | ||
6 | LICENSE = "GPLv2 & GPLv2+" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
8 | |||
9 | require rt-tests.inc | ||
10 | inherit ptest | ||
11 | |||
12 | SRC_URI += " \ | ||
13 | file://run-ptest \ | ||
14 | file://rt_bmark.py \ | ||
15 | file://0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch \ | ||
16 | " | ||
17 | |||
18 | # rt-tests needs PI mutex support in libc | ||
19 | COMPATIBLE_HOST_libc-musl = 'null' | ||
20 | |||
21 | # Do not install hwlatdetect | ||
22 | EXTRA_OEMAKE += "PYLIB=''" | ||
23 | |||
24 | do_install() { | ||
25 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} \ | ||
26 | INCLUDEDIR=${includedir} | ||
27 | } | ||
28 | |||
29 | do_install_ptest() { | ||
30 | cp ${WORKDIR}/rt_bmark.py ${D}${PTEST_PATH} | ||
31 | } | ||
32 | |||
33 | RDEPENDS_${PN}-ptest += " stress-ng python3 python3-multiprocessing python3-datetime python3-misc" | ||
34 | |||
35 | FILES_${PN} += "${prefix}/src/backfire" | ||
36 | RDEPENDS_${PN} += "bash" | ||