1# SPDX-License-Identifier: GPL-2.0 2CFLAGS += -Wall -pthread 3 4all: ${HELPER_PROGS} 5 6TEST_FILES := with_stress.sh 7TEST_PROGS := test_stress.sh test_cpuset_prs.sh 8TEST_GEN_FILES := wait_inotify 9TEST_GEN_PROGS = test_memcontrol 10TEST_GEN_PROGS += test_kmem 11TEST_GEN_PROGS += test_core 12TEST_GEN_PROGS += test_freezer 13TEST_GEN_PROGS += test_kill 14TEST_GEN_PROGS += test_cpu 15TEST_GEN_PROGS += test_cpuset 16TEST_GEN_PROGS += test_zswap 17TEST_GEN_PROGS += test_hugetlb_memcg 18 19LOCAL_HDRS += $(selfdir)/clone3/clone3_selftests.h $(selfdir)/pidfd/pidfd.h 20 21include ../lib.mk 22 23$(OUTPUT)/test_memcontrol: cgroup_util.c 24$(OUTPUT)/test_kmem: cgroup_util.c 25$(OUTPUT)/test_core: cgroup_util.c 26$(OUTPUT)/test_freezer: cgroup_util.c 27$(OUTPUT)/test_kill: cgroup_util.c 28$(OUTPUT)/test_cpu: cgroup_util.c 29$(OUTPUT)/test_cpuset: cgroup_util.c 30$(OUTPUT)/test_zswap: cgroup_util.c 31$(OUTPUT)/test_hugetlb_memcg: cgroup_util.c 32