X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=tools%2Ftesting%2Fselftests%2Fpowerpc%2Fmm%2FMakefile;h=41cc3ed66818bffa72d3bfffcbdecb44123c6ffc;hb=6faeeea44b84ce24fc6c1f1beb07ee5de9885dc8;hp=a14c538dd7f8d6068fe80bc4427a8e72e0cb94e6;hpb=4ba63072b998cc31515cc6305c25f3b808b50c01;p=karo-tx-linux.git diff --git a/tools/testing/selftests/powerpc/mm/Makefile b/tools/testing/selftests/powerpc/mm/Makefile index a14c538dd7f8..41cc3ed66818 100644 --- a/tools/testing/selftests/powerpc/mm/Makefile +++ b/tools/testing/selftests/powerpc/mm/Makefile @@ -1,21 +1,16 @@ noarg: $(MAKE) -C ../ -PROGS := hugetlb_vs_thp_test subpage_prot +TEST_PROGS := hugetlb_vs_thp_test subpage_prot -all: $(PROGS) tempfile +all: $(TEST_PROGS) tempfile -$(PROGS): ../harness.c +$(TEST_PROGS): ../harness.c -run_tests: all - @-for PROG in $(PROGS); do \ - ./$$PROG; \ - done; +include ../../lib.mk tempfile: dd if=/dev/zero of=tempfile bs=64k count=1 clean: - rm -f $(PROGS) tempfile - -.PHONY: all run_tests clean + rm -f $(TEST_PROGS) tempfile