linux-yocto/tools/testing/selftests/arm64/README
Cristian Marussi 313a4db7f3 kselftest: arm64: extend toplevel skeleton Makefile
Modify KSFT arm64 toplevel Makefile to maintain arm64 kselftests organized
by subsystem, keeping them into distinct subdirectories under arm64 custom
KSFT directory: tools/testing/selftests/arm64/

Add to such toplevel Makefile a mechanism to guess the effective location
of Kernel headers as installed by KSFT framework.

Fit existing arm64 tags kselftest into this new schema moving them into
their own subdirectory (arm64/tags).

Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2019-11-08 11:10:30 +00:00

879 B

KSelfTest ARM64

  • These tests are arm64 specific and so not built or run but just skipped completely when env-variable ARCH is found to be different than 'arm64' and uname -m reports other than 'aarch64'.

  • Holding true the above, ARM64 KSFT tests can be run within the KSelfTest framework using standard Linux top-level-makefile targets:

    $ make TARGETS=arm64 kselftest-clean
    $ make TARGETS=arm64 kselftest
    
    or
    
    $ make -C tools/testing/selftests TARGETS=arm64 \
      INSTALL_PATH=<your-installation-path> install
    
    or, alternatively, only specific arm64/ subtargets can be picked:
    
    $ make -C tools/testing/selftests TARGETS=arm64 ARM64_SUBTARGETS="tags signal" \
      INSTALL_PATH=<your-installation-path> install
    

    Further details on building and running KFST can be found in: Documentation/dev-tools/kselftest.rst