Re: git: 0ddaa4c86d68 - main - arm64: Add arm64 SVE tests

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Thu, 09 Apr 2026 09:28:45 UTC
On 8 Apr 2026, at 16:21, Andrew Turner wrote:
> The branch main has been updated by andrew:
>
> URL: 
> https://cgit.FreeBSD.org/src/commit/?id=0ddaa4c86d68e8dacee8a78877e5742d53c122b3
>
> commit 0ddaa4c86d68e8dacee8a78877e5742d53c122b3
> Author:     Andrew Turner <andrew@FreeBSD.org>
> AuthorDate: 2026-04-08 14:17:55 +0000
> Commit:     Andrew Turner <andrew@FreeBSD.org>
> CommitDate: 2026-04-08 14:20:52 +0000
>
>     arm64: Add arm64 SVE tests
>
>     Add the tests/sys/arch directory for architecture-specific tests 
> and
>     use it to add arm64 SVE tests. These test the kernel is managing 
> the
>     SVE state in a way we expect.
>
>     These tests require SVE hardware support to run so will skip when 
> they
>     can't detect it.
>
>     Reviewed by:    markj
>     Sponsored by:   Arm Ltd
>     Differential Revision:  https://reviews.freebsd.org/D43311

This causes the tests to fail to run for me:

	kyua: E: Load of '/usr/tests/Kyuafile' failed: Failed to load Lua file 
'/usr/tests/Kyuafile': /usr/tests/Kyuafile:48: Load of 
'/usr/tests/sys/Kyuafile' failed: Failed to load Lua file 
'/usr/tests/sys/Kyuafile': /usr/tests/sys/Kyuafile:9: Load of 
'/usr/tests/sys/arch/Kyuafile' failed: File 
'/usr/tests/sys/arch/Kyuafile' not found.

I believe it needs this:

	diff --git a/tests/sys/arch/Makefile b/tests/sys/arch/Makefile
	index e1a35422410e..f83329c1dd43 100644
	--- a/tests/sys/arch/Makefile
	+++ b/tests/sys/arch/Makefile
	@@ -1,5 +1,9 @@
	+.include <src.opts.mk>
	+
	+TESTSDIR=              ${TESTSBASE}/sys/arch
	+
	 .if exists(${.CURDIR}/${MACHINE_ARCH})
	-SUBDIR+=       ${MACHINE_ARCH}
	+TESTS_SUBDIRS+=        ${MACHINE_ARCH}
	 .endif

	-.include <bsd.subdir.mk>
	+.include <bsd.test.mk>

Best regards,
Kristof