The "test_hmm.sh" file used by run_vmtests.sh dose not be installed into INSTALL_PATH. Thus run_vmtests.sh can not call it in INSTALL_PATH:
--------------------------- running ./test_hmm.sh smoke --------------------------- ./run_vmtests.sh: line 74: ./test_hmm.sh: No such file or directory [FAIL] -----------------------
Add "test_hmm.sh" to TEST_FILES so that it will be installed.
Signed-off-by: Patrick Wang patrick.wang.shcn@gmail.com --- tools/testing/selftests/vm/Makefile | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/vm/Makefile b/tools/testing/selftests/vm/Makefile index 12897927311e..44f25acfbeca 100644 --- a/tools/testing/selftests/vm/Makefile +++ b/tools/testing/selftests/vm/Makefile @@ -92,6 +92,7 @@ endif TEST_PROGS := run_vmtests.sh
TEST_FILES := test_vmalloc.sh +TEST_FILES += test_hmm.sh
KSFT_KHDR_INSTALL := 1 include ../lib.mk