treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / testing / selftests / lkdtm / Makefile
blob1bcc9ee990eb92db6051f3c28519fe568e25e1f4
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for LKDTM regression tests
4 include ../lib.mk
6 # NOTE: $(OUTPUT) won't get default value if used before lib.mk
7 TEST_FILES := tests.txt
8 TEST_GEN_PROGS = $(patsubst %,$(OUTPUT)/%.sh,$(shell awk '{print $$1}' tests.txt | sed -e 's/\#//'))
9 all: $(TEST_GEN_PROGS)
11 $(OUTPUT)/%: run.sh tests.txt
12 install -m 0744 run.sh $@