]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/selftest: add new test for toolchain switching
authorRoss Burton <ross.burton@arm.com>
Thu, 19 Jun 2025 13:20:45 +0000 (14:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jun 2025 20:54:41 +0000 (21:54 +0100)
commit7988c32191927f1c6db422c959eab7a03dfeda04
tree0fc85904e15aecb3a0976db72017c7799cd19fba
parent6196d096b95b36f8b72b4049d5479f8f23e7891d
oeqa/selftest: add new test for toolchain switching

Add a basic test for the toolchain switching code: set the
toolchain to GCC by default but Clang for a specific recipe, and verify
that two recipes are built with the expected compiler.

This works because before we strip the installed binaries there is a
.comment segment that contains the list of toolchains used.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/toolchain.py [new file with mode: 0644]