summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt/rt-tests/files/rt_bmark.py
AgeCommit message (Collapse)Author
2024-02-13meta/recipes: python 3.12 regexAdrian Freihofer
Python 3 interprets string literals as Unicode strings, and therefore \s is treated as an escaped Unicode character which is not correct. Declaring the RegEx pattern as a raw string instead of unicode is required for Python 3. (From OE-Core rev: f2d80817baea298b953d6e14daad65087b3b50c9) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-04rt-tests: modernise subprocess: preexec_fn=os.setsid -> start_new_session=TrueAndré Draszik
start_new_session was added to python3 subprocess in v3.2 and is meant to take the place of the common use of preexec_fn to call os.setsid() in the child - as done here. Update to use the new equivalent. (From OE-Core rev: 0ebb56ff192e9c6db2af83c37db3307a27fe822a) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-31stress-ng: add a recipe that replaces the original stressAlexander Kanavin
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>
2016-07-08rt-tests: move ptest to python3Maxin B. John
convert python2 based ptest of rt-tests package to python3 (From OE-Core rev: 2767cbe014f84c9ad42ed8ef1eca7caa862e5196) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-02classes/lib: Update xrange -> range for python3Richard Purdie
xrange() no longer exists in python 3, use range() (From OE-Core rev: d022b4335100612d6596cc4c4956cb98ed5873cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-08rt-tests: bump version and enable ptest supportMaxin B. John
1. Upgrade version to 0.91 2. Add ptest support [YOCTO #1569] (From OE-Core rev: d3c3b49384d034e84cf197c3bb165709a2088cbf) Signed-off-by: Thomas Lundström <thomas.lundstrom@enea.com> Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>