From: Simon Glass <simon.glass@canonical.com> The ulib_test_static binary has a build rule in the Makefile but is not added to the INPUTS targets, so it is never built automatically. The test_ulib_static pytest then fails because the binary does not exist. Add test/ulib/ulib_test_static to the INPUTS line for sandbox builds, since the binary uses HOSTCC and can only run on the host. Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index f1fdace661d..be1814e009c 100644 --- a/Makefile +++ b/Makefile @@ -1060,6 +1060,9 @@ ifneq ($(cc-name),clang) ifeq ($(NO_LIBS),) INPUTS-$(CONFIG_ULIB_SHARED_LIB) += libu-boot.so test/ulib/ulib_test INPUTS-$(CONFIG_ULIB) += libu-boot.a +ifdef CONFIG_SANDBOX +INPUTS-$(CONFIG_ULIB) += test/ulib/ulib_test_static +endif ifdef CONFIG_EXAMPLES ifdef CONFIG_SANDBOX INPUTS-$(CONFIG_ULIB) += examples_ulib examples_rust -- 2.43.0