]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/selftest: test_testimage_virgl_gtk_sdl: run only if gtk or sdl are enabled in...
authorAlexander Kanavin <alex@linutronix.de>
Tue, 2 Jun 2026 19:13:12 +0000 (21:13 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Jun 2026 10:18:34 +0000 (11:18 +0100)
commit617a0eb86219bb183202503e4f79c08030661f85
tree1b3530d8ee2ea19efe7fee85f23be726c95e6d11
parent8ba5db86ac364b85fa6c1ee36fa5a037c0ee818a
oeqa/selftest: test_testimage_virgl_gtk_sdl: run only if gtk or sdl are enabled in base config

The test was forcibly enabling both gtk and sdl in qemu and then running the test.

This changes the logic to skip the test if neither is enabled,
and run gtk and/or sdl tests only if either is already enabled
in the base config that was in place before running the selftest.

Together with disabling sdl support in qemu by default this effectively
skips the test on the yocto autobuilder, resolving the selftest
failures seen with qemu 11.0.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/runtime_test.py