Message ID | 271b880cb8efb17078c090715c6b0c729c61dbbc.1415117102.git.shuahkh@osg.samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tools/testing/selftests/vm/Makefile b/tools/testing/selftests/vm/Makefile index 4c4b1f6..254ce92 100644 --- a/tools/testing/selftests/vm/Makefile +++ b/tools/testing/selftests/vm/Makefile @@ -9,6 +9,13 @@ all: $(BINARIES) %: %.c $(CC) $(CFLAGS) -o $@ $^ +install: all + install run_vmtests $(BINARIES) $(INSTALL_KSFT_PATH) + echo "\necho \"Start vm test ....\"" >> $(KSELFTEST) + echo "/bin/sh ./run_vmtests || echo \"vmtests: [FAIL]\"" >> $(KSELFTEST) + echo "echo \"End vm test ....\"" >> $(KSELFTEST) + echo "echo \"==============================\"" >> $(KSELFTEST) + run_tests: all @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
Add a new make target to enable installing test. This target installs test in the kselftest install location and add to the kselftest script to run the test. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> --- tools/testing/selftests/vm/Makefile | 7 +++++++ 1 file changed, 7 insertions(+)