[OE-core] [PATCH 0/4] Some optimizations on top time selftest checks
leonardo.sandoval.gonzalez at linux.intel.com
leonardo.sandoval.gonzalez at linux.intel.com
Tue Jan 31 22:50:48 UTC 2017
From: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
* On my local host test, the optimization went from 44 to 8 minutes with the following command
oe-selftest -r \
buildoptions.ImageOptionsTests.test_read_only_image \
bbtests.BitbakeTests.test_non_gplv3 \
buildoptions.ImageOptionsTests.test_ccache_tool \
buildoptions.ImageOptionsTests.test_read_only_image
* Before series applied
2017-01-31 15:41:20 - test_read_only_image (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok
2017-01-31 16:20:12 - test_non_gplv3 (oeqa.selftest.bbtests.BitbakeTests) ... ok
2017-01-31 16:22:55 - test_ccache_tool (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok
2017-01-31 16:23:49 - test_read_only_image (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok
----------------------------------------------------------------------
Ran 4 tests in 2662.852s
* After series applied
2017-01-31 15:27:08 - test_read_only_image (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok
2017-01-31 15:27:14 - test_non_gplv3 (oeqa.selftest.bbtests.BitbakeTests) ... ok
2017-01-31 15:33:42 - test_ccache_tool (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok
2017-01-31 15:34:30 - test_read_only_image (oeqa.selftest.buildoptions.ImageOptionsTests) ... ok
----------------------------------------------------------------------
Ran 4 tests in 518.647s
[YOCTO #10874]
The following changes since commit d45d4a5a21ab4209b87331dddf515ecdb62367fa:
staging: Handle stale sysroot rebuild issue (2017-01-28 23:32:16 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib lsandov1/oe-selftest-optimizations
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lsandov1/oe-selftest-optimizations
Leonardo Sandoval (4):
selftest/buildoptions: use a thinner image to test 'read-only-rootfs'
feature
selftest/buildoptions: force compile task instead of cleaning sstates
selftest/bbtests: use write_config instead of local.conf file
selftest/archiver: invalidate stamps instead of removing TMPDIR
meta/lib/oeqa/selftest/archiver.py | 4 ++--
meta/lib/oeqa/selftest/bbtests.py | 5 +----
meta/lib/oeqa/selftest/buildoptions.py | 8 ++------
3 files changed, 5 insertions(+), 12 deletions(-)
--
2.1.4
More information about the Openembedded-core
mailing list