]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
selftest/rust: correctly form the PATH environment variable
authorAlexander Kanavin <alex@linutronix.de>
Tue, 21 May 2024 12:50:41 +0000 (14:50 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 May 2024 14:08:59 +0000 (15:08 +0100)
commitaec96b5aec8d6b4a5ae8a719ca05bb727a6197cb
treedb9afce0704a52a6f474488192963ed0a71418d6
parent58eaf2ee6c0809bf0a0d3c1d177e62bda7241651
selftest/rust: correctly form the PATH environment variable

There were two issues here:

- the path to native python was not included, so the test
suite was running with host python, causing failures due to
host python being given native libraries:
https://autobuilder.yoctoproject.org/typhoon/#/builders/148/builds/1711/steps/12/logs/stdio
(rust recipe uses native python throughout)

- tmp/hosttools was listead ahead of native-sysroot/usr/bin

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/rust.py