Messages in this thread | | | Date | Mon, 8 Apr 2024 13:24:00 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 4/4] selftests: Add build infrastructure along with README |
| |
On Sun, Apr 07, 2024 at 02:15:15AM +0500, Muhammad Usama Anjum wrote: > On 4/5/24 1:44 PM, Dev Jain wrote:
> > @@ -0,0 +1,31 @@ > > +KSelfTest ARM > > +=============== > > + > > +- This is a series of compatibility tests, wherein the source files are > > + built statically into a 32 bit ELF; they should pass on both 32 and 64 > > + bit kernels. They are not built or run but just skipped completely when > > + env-variable ARCH is found to be different than 'arm64' or 'arm' and > > + `uname -m` reports other than 'aarch64', 'armv7l' or 'armv8l'. > > + > > +- Please ensure that the test kernel is built with CONFIG_COMPAT enabled.
> Please create a config file and put all the per-requisite configurations in > that. For example, look at tools/testing/selftests/mm/config
Note that arm and arm64 are different architectures, and the kernel config stuff only applies when building for arm64... [unhandled content-type:application/pgp-signature] | |