mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 01:24:12 +08:00
981cf568a8
When building whole selftests on arm64, rsync gives an erorr about sgx:
rsync: [sender] link_stat "/root/linux-next/tools/testing/selftests/sgx/test_encl.elf" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1327) [sender=3.2.5]
The root casue is sgx only used on X86_64, and shall be skipped on other
platforms.
Fix this by moving TEST_CUSTOM_PROGS and TEST_FILES inside the if check,
then the build result will be "Skipping non-existent dir: sgx".
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
call.S | ||
defines.h | ||
load.c | ||
main.c | ||
main.h | ||
Makefile | ||
sign_key.pem | ||
sign_key.S | ||
sigstruct.c | ||
test_encl_bootstrap.S | ||
test_encl.c | ||
test_encl.lds |