1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # Makefile for LKDTM regression tests 2 # Makefile for LKDTM regression tests 3 3 4 include ../lib.mk 4 include ../lib.mk 5 5 6 # NOTE: $(OUTPUT) won't get default value if u 6 # NOTE: $(OUTPUT) won't get default value if used before lib.mk 7 TEST_FILES := tests.txt 7 TEST_FILES := tests.txt 8 TEST_PROGS := stack-entropy.sh 8 TEST_PROGS := stack-entropy.sh 9 TEST_GEN_PROGS = $(patsubst %,$(OUTPUT)/%.sh,$ 9 TEST_GEN_PROGS = $(patsubst %,$(OUTPUT)/%.sh,$(shell awk '{print $$1}' tests.txt | sed -e 's/\#//')) 10 all: $(TEST_GEN_PROGS) 10 all: $(TEST_GEN_PROGS) 11 11 12 $(OUTPUT)/%: run.sh tests.txt 12 $(OUTPUT)/%: run.sh tests.txt 13 install -m 0744 run.sh $@ 13 install -m 0744 run.sh $@
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.