generic-poky/meta
Ross Burton a304b94eae oeqa/selftest/devtool: rewrite modify testcase
The modify testcase had to be updated as it started failing when mdadm was
upgraded due to hardcoding version numbers in the test.  I then noticed how
inefficient the test was and mostly rewrote it.

Start by changing the minor modification to change "Linux Software RAID" (the
subtitle of the man page) to "antique pin sardine" (a nonsense phrase that is
unlikely to appear upstream), and neaten the logic.

Start by not removing sstate at the beginning of the test. To ensure builds
happen we can use -f and -C, and iterating the sstate cache is time consuming.

Don't bitbake mdadm repeatedly until it stabilizes, we can start with bitbake -C
unpack to ensure that a full build is done from scratch.

os.path.join has the interesting quirk that join(/foo, /bar) results in /bar, so
use oe.path.join instead of working around that manually.

Don't repeatedly call get_bb_var(), each call results in a call to bitbake.

These changes reduce the runtime of the test from over 600 seconds to around 160
seconds on my machine.

(From OE-Core rev: fc97963bc61bf16112859fe1d7e460a13d34baca)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19 22:47:22 +00:00
..
classes oeqa/utils/qemurunner.py: Be sure to stop qemu-system 2017-01-19 22:47:22 +00:00
conf bitbake.conf: require conf/multiconfig/${BB_CURRENT_MC}.conf 2017-01-17 11:31:36 +00:00
files sdk-installer: Fix unclear SDK installer message 2016-10-11 22:59:35 +01:00
lib oeqa/selftest/devtool: rewrite modify testcase 2017-01-19 22:47:22 +00:00
recipes-bsp grub_git: remove redundant inherits 2017-01-16 18:05:13 +00:00
recipes-connectivity openssl: Use linux-aarch64 target for aarch64 2017-01-19 22:47:21 +00:00
recipes-core netbase: upgrade to version 5.4 2017-01-19 22:47:21 +00:00
recipes-devtools python3-pygobject: enable cairo only when a display is available 2017-01-19 22:47:21 +00:00
recipes-extended time: BBCLASSEXTEND to native and nativesdk 2017-01-19 22:47:22 +00:00
recipes-gnome gnome-desktop3: fix for x32 2017-01-09 13:39:13 +00:00
recipes-graphics harfbuzz: upgrade to 1.4.1 2017-01-19 22:47:21 +00:00
recipes-kernel babeltrace: upgrade to 1.5.1 2017-01-19 22:47:21 +00:00
recipes-lsb4 libpng12: Handle no static libs 2016-02-15 16:28:46 +00:00
recipes-multimedia gstreamer1.0: make libunwind detection deterministic 2017-01-19 22:47:21 +00:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk: add missing python-native dep 2017-01-09 13:39:13 +00:00
recipes-support libproxy: update to version 0.4.14 2017-01-19 22:47:21 +00:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00