]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/sstatetests: Fix NATIVELSBSTRING handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Jun 2025 13:39:30 +0000 (14:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jun 2025 10:00:48 +0000 (11:00 +0100)
commite1c46fdb44fed18909d9ff4b43b4e445c5a22d33
treea2b51804e1d988ca22a3858486c06849bae266ce
parenta6038553aaef3b88b834a09018c524c4fa41e625
oeqa/sstatetests: Fix NATIVELSBSTRING handling

The NATIVELSBSTRING variable changes value once a BuildStarted event occurs in a build
directory. This meant running some of the tests directly in a fresh build directory
would fail but they'd pass when run as a group of tests. This is clearly suboptimal.

Move the NATIVELSBSTRING handling to a location where the value is consistent
and a comment about the interesting behaviour of the variable so it hopefully doesn't
catch out others in future.

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