summaryrefslogtreecommitdiffstats
path: root/meta-selftest
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-07 11:56:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-09 11:45:37 +0000
commitc6276d8e577fc7790d116d6c3e4e76883f4a32c2 (patch)
tree77660867341c768bdfc0cc84d717528384fba6d5 /meta-selftest
parent6f427822e88442205c023de8215ab4cc55daff67 (diff)
downloadpoky-c6276d8e577fc7790d116d6c3e4e76883f4a32c2.tar.gz
oeqa/selftest/sstatetests: Fix intermitttent errors and improve performance
You could reproduce an error in this test with: bitbake core-image-minimal bitbake tzcode-native -c cleansstate oe-selftest -r sstatetests.SStatePrintdiff.test_image_minimal_vs_base_do_configure since tzcode-native isn't needed once tzdata is available and isn't rebuilt by "bitbake core-image-minimal" if it is missig. tzdata is allarch so if tzdata is built on an x86 host, a aarch64 build machine would never build tzcode-native with this set of calls. Add a --runall option to the initial bitbake invocation to force these things to be created if they're missing. This explains why some failures were occurring on the infrastructure. With that issue fixed, drop the hash mode change since I believe this fixes that issue. That restriction was hurting performance, this should allow sstate reuse for the test and improve the speed of it. (From OE-Core rev: 8f03ac39e7fe21f3d6eca35b12b203a73a15285d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest')
-rw-r--r--meta-selftest/classes/base-do-configure-modified.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-selftest/classes/base-do-configure-modified.bbclass b/meta-selftest/classes/base-do-configure-modified.bbclass
index 3f96827a42..9175bb8ad9 100644
--- a/meta-selftest/classes/base-do-configure-modified.bbclass
+++ b/meta-selftest/classes/base-do-configure-modified.bbclass
@@ -1,3 +1,3 @@
1base_do_configure:append () { 1base_do_configure:append () {
2 echo "this changes base_do_configure() definiton" 2 echo "this changes base_do_configure() definiton "
3} 3}