xref: /OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/README (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunKSelfTest ARM64
2*4882a593Smuzhiyun===============
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun- These tests are arm64 specific and so not built or run but just skipped
5*4882a593Smuzhiyun  completely when env-variable ARCH is found to be different than 'arm64'
6*4882a593Smuzhiyun  and `uname -m` reports other than 'aarch64'.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun- Holding true the above, ARM64 KSFT tests can be run within the KSelfTest
9*4882a593Smuzhiyun  framework using standard Linux top-level-makefile targets:
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun      $ make TARGETS=arm64 kselftest-clean
12*4882a593Smuzhiyun      $ make TARGETS=arm64 kselftest
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun      or
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun      $ make -C tools/testing/selftests TARGETS=arm64 \
17*4882a593Smuzhiyun		INSTALL_PATH=<your-installation-path> install
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun      or, alternatively, only specific arm64/ subtargets can be picked:
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun      $ make -C tools/testing/selftests TARGETS=arm64 ARM64_SUBTARGETS="tags signal" \
22*4882a593Smuzhiyun		INSTALL_PATH=<your-installation-path> install
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun   Further details on building and running KFST can be found in:
25*4882a593Smuzhiyun     Documentation/dev-tools/kselftest.rst
26