test: Do not build expo and cedit test if no SDL
PATCH 1/1 test: Do not build expo and cedit test if no SDL
expo and cedit tests depend on the host having the SDL library. Build these tests only if VIDEO_SANDBOX_SDL config is enabled.
--- test/boot/Makefile | 2 ++ 1 file changed, 2 insertions(+)
test/boot/Makefile +2 -0
@@ -6,9 +6,11 @@ ifdef CONFIG_UT_BOOTSTD obj-$(CONFIG_BOOTSTD) += bootdev.o bootstd_common.o bootflow.o bootmeth.o obj-$(CONFIG_FIT) += image.o +ifdef CONFIG_VIDEO_SANDBOX_SDL obj-$(CONFIG_EXPO) += expo.o obj-$(CONFIG_CEDIT) += cedit.o endif +endif ifdef CONFIG_SANDBOX obj-$(CONFIG_$(PHASE_)CMDLINE) += bootm.o
Signature · 1 line
2.43.0
Hi Kory,
Quoted 8 lines · Kory Maincent
expo and cedit tests depend on the host having the SDL library. Build these tests only if
VIDEO_SANDBOX_SDLconfig is enabled.Signed-off-by Kory Maincent <[email protected]>--- test/boot/Makefile | 2 ++ 1 file changed, 2 insertions(+)
We should be careful that a future CI change doesn't cause these tests to stop running.
- Simon
Quoted 12 lines · Simon Glass
Hi Kory,
Quoted 8 lines · Kory Maincent
expo and cedit tests depend on the host having the SDL library. Build these tests only if
VIDEO_SANDBOX_SDLconfig is enabled.Signed-off-by Kory Maincent <[email protected]>--- test/boot/Makefile | 2 ++ 1 file changed, 2 insertions(+)
Quoted 4 lines
Reviewed-by Simon Glass <[email protected]>We should be careful that a future CI change doesn't cause these tests to stop running.
Given how HOST_HAS_SDL is defined, CI will be fine.
Signature · 1 line
Tom
Hello Tom,
Quoted 14 lines · On Mon, 6 Oct 2025 15:44:36 -0600 Tom Rini <[email protected]> wrote:
Quoted 13 lines · Simon Glass
Hi Kory,
Quoted 8 lines · Kory Maincent
expo and cedit tests depend on the host having the SDL library. Build these tests only if
VIDEO_SANDBOX_SDLconfig is enabled.Signed-off-by Kory Maincent <[email protected]>--- test/boot/Makefile | 2 ++ 1 file changed, 2 insertions(+)
Quoted 6 lines
Quoted 4 lines
Reviewed-by Simon Glass <[email protected]>We should be careful that a future CI change doesn't cause these tests to stop running.
Given how
HOST_HAS_SDLis defined, CI will be fine.
What is the status on this fix? I see that it is still not merged. Is there a reason for this?
Regards,
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Quoted 21 lines · Kory Maincent
Hello Tom,
Quoted 16 lines · On Mon, 6 Oct 2025 15:44:36 -0600 Tom Rini <[email protected]> wrote:
Quoted 15 lines · Simon Glass
Hi Kory,
Quoted 8 lines · Kory Maincent
expo and cedit tests depend on the host having the SDL library. Build these tests only if
VIDEO_SANDBOX_SDLconfig is enabled.Signed-off-by Kory Maincent <[email protected]>--- test/boot/Makefile | 2 ++ 1 file changed, 2 insertions(+)Reviewed-by Simon Glass <[email protected]>
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
We should be careful that a future CI change doesn't cause these tests to stop running.
Given how
HOST_HAS_SDLis defined, CI will be fine.What is the status on this fix? I see that it is still not merged. Is there a reason for this?
It's on my list to pick up very soon. The general window for applying patches is about 2 weeks to allow time for feedback.
Signature · 1 line
Tom
Quoted 25 lines · On Wed, 15 Oct 2025 08:15:35 -0600 Tom Rini <[email protected]> wrote:
Quoted 24 lines · Kory Maincent
Hello Tom,
Quoted 19 lines · On Mon, 6 Oct 2025 15:44:36 -0600 Tom Rini <[email protected]> wrote:
Quoted 17 lines · Simon Glass
Hi Kory,
Quoted 8 lines · Kory Maincent
expo and cedit tests depend on the host having the SDL library. Build these tests only if
VIDEO_SANDBOX_SDLconfig is enabled.Signed-off-by Kory Maincent <[email protected]>--- test/boot/Makefile | 2 ++ 1 file changed, 2 insertions(+)Reviewed-by Simon Glass <[email protected]>We should be careful that a future CI change doesn't cause these tests to stop running.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Given how
HOST_HAS_SDLis defined, CI will be fine.What is the status on this fix? I see that it is still not merged. Is there a reason for this?
It's on my list to pick up very soon. The general window for applying patches is about 2 weeks to allow time for feedback.
Oh ok. Didn't know about that. I am used to the Linux merge process. Sorry for the noise!
Regards,
Signature · 3 lines
Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Quoted 4 lines · Kory Maincent
expo and cedit tests depend on the host having the SDL library. Build these tests only if
VIDEO_SANDBOX_SDLconfig is enabled.
Applied to u-boot/master, thanks!
[1/1] test: Do not build expo and cedit test if no SDL
commit: 00ed9753c803402935c6d67e839637c5c144e70b
Signature · 1 line
Tom