]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/sstatetests: Fix NATIVELSBSTRING handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Jun 2025 07:41:32 +0000 (09:41 +0200)
committerSteve Sakoman <steve@sakoman.com>
Mon, 30 Jun 2025 16:11:01 +0000 (09:11 -0700)
commitcb50ca2faac6418ec8f3f3fefa162531177f7460
tree08cd36e806f5e7ac455d44e088ad76f41dd72744
parente56aa6c62e41667d0eeec5a862b7004d21b4da48
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>
(cherry picked from commit e1c46fdb44fed18909d9ff4b43b4e445c5a22d33)
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/cases/sstatetests.py