summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-07-30 18:47:42 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-31 23:03:01 +0100
commit23e9a8835e5b756ce91c7cdf924fdc45778cdb41 (patch)
treedd9d5b6c4fd958df9c94419659c2bbe2a7f802a6 /meta/recipes-rt
parentfc0c93a62eff08876f8f6b701e3a221ace2fc767 (diff)
downloadpoky-23e9a8835e5b756ce91c7cdf924fdc45778cdb41.tar.gz
stress-ng: add a recipe that replaces the original stress
The original stress is no longer maintained and the homepage went down. This commit replaces it with a maintained re-implementation by Ubuntu. Stress-ng preserves command line option compatibility (for the options that are used in rt-tests), so adjustment is simply changing the name of the executable. Rt-tests is the only user of stress(-ng) in oe-core. (From OE-Core rev: 3fcc10aeba208381166f09861d098d6459d44dfe) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-rt')
-rwxr-xr-xmeta/recipes-rt/rt-tests/files/rt_bmark.py2
-rw-r--r--meta/recipes-rt/rt-tests/rt-tests_1.1.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-rt/rt-tests/files/rt_bmark.py b/meta/recipes-rt/rt-tests/files/rt_bmark.py
index 080a655893..57b39b52a1 100755
--- a/meta/recipes-rt/rt-tests/files/rt_bmark.py
+++ b/meta/recipes-rt/rt-tests/files/rt_bmark.py
@@ -130,7 +130,7 @@ def log_test_header(seq_no, nr_of_tests, name):
130#------------------------------------------------------------------------------- 130#-------------------------------------------------------------------------------
131 131
132def start_stress(*args): 132def start_stress(*args):
133 stress_cmd = [ "stress" ] 133 stress_cmd = [ "stress-ng" ]
134 added_stress_types = [] 134 added_stress_types = []
135 req_stress_types = set(args) 135 req_stress_types = set(args)
136 cpu_cnt = str(multiprocessing.cpu_count()) 136 cpu_cnt = str(multiprocessing.cpu_count())
diff --git a/meta/recipes-rt/rt-tests/rt-tests_1.1.bb b/meta/recipes-rt/rt-tests/rt-tests_1.1.bb
index 496f04fdba..b673cd784f 100644
--- a/meta/recipes-rt/rt-tests/rt-tests_1.1.bb
+++ b/meta/recipes-rt/rt-tests/rt-tests_1.1.bb
@@ -26,6 +26,6 @@ do_install_ptest() {
26 cp ${WORKDIR}/rt_bmark.py ${D}${PTEST_PATH} 26 cp ${WORKDIR}/rt_bmark.py ${D}${PTEST_PATH}
27} 27}
28 28
29RDEPENDS_${PN}-ptest += " stress python3 python3-multiprocessing python3-datetime python3-misc" 29RDEPENDS_${PN}-ptest += " stress-ng python3 python3-multiprocessing python3-datetime python3-misc"
30 30
31FILES_${PN} += "${prefix}/src/backfire" 31FILES_${PN} += "${prefix}/src/backfire"