]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/selftest/sstate: Ensure tests are deterministic
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jul 2022 10:19:49 +0000 (11:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Aug 2022 10:49:37 +0000 (11:49 +0100)
commit8818478420a5c73b1dc1710774545f7e984307da
treeb762af19953694b54656fcc39a681f9213d63f38
parent958ee0eede859bdba659e3343856b1c226207854
oeqa/selftest/sstate: Ensure tests are deterministic

glob.glob() depends on the order of files on disk and selecting [0]
is race prone. We should cover all the nativesdk files so rework
the function to do this.

Spotted as some oe-selftests failed, some passed and it raised a question
of why!

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/sstatetests.py