diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-07 11:56:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-09 11:45:34 +0000 |
commit | 8f03ac39e7fe21f3d6eca35b12b203a73a15285d (patch) | |
tree | a67263c33901f8b9143c934fce22c2b350393bab /meta-selftest/classes | |
parent | 1ed1c4f48203a8366519b40a094c7d9719c3ae32 (diff) | |
download | openembedded-core-8f03ac39e7fe21f3d6eca35b12b203a73a15285d.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/classes')
-rw-r--r-- | meta-selftest/classes/base-do-configure-modified.bbclass | 2 |
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 @@ base_do_configure:append () { - echo "this changes base_do_configure() definiton" + echo "this changes base_do_configure() definiton " } |