mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 18:55:08 +07:00
46d1a0f03d
This adds a basic framework for running all the "safe" LKDTM tests. This will allow easy introspection into any selftest logs to examine the results of most LKDTM tests. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
13 lines
363 B
Makefile
13 lines
363 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for LKDTM regression tests
|
|
|
|
include ../lib.mk
|
|
|
|
# NOTE: $(OUTPUT) won't get default value if used before lib.mk
|
|
TEST_FILES := tests.txt
|
|
TEST_GEN_PROGS = $(patsubst %,$(OUTPUT)/%.sh,$(shell awk '{print $$1}' tests.txt | sed -e 's/\#//'))
|
|
all: $(TEST_GEN_PROGS)
|
|
|
|
$(OUTPUT)/%: run.sh tests.txt
|
|
install -m 0744 run.sh $@
|