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 test_cpuset_v1_hp.sh 8TEST_GEN_FILES := wait_inotify 9# Keep the lists lexicographically sorted 10TEST_GEN_PROGS = test_core 11TEST_GEN_PROGS += test_cpu 12TEST_GEN_PROGS += test_cpuset 13TEST_GEN_PROGS += test_freezer 14TEST_GEN_PROGS += test_hugetlb_memcg 15TEST_GEN_PROGS += test_kill 16TEST_GEN_PROGS += test_kmem 17TEST_GEN_PROGS += test_memcontrol 18TEST_GEN_PROGS += test_pids 19TEST_GEN_PROGS += test_zswap 20 21LOCAL_HDRS += $(selfdir)/clone3/clone3_selftests.h $(selfdir)/pidfd/pidfd.h 22 23include ../lib.mk 24 25$(OUTPUT)/test_core: cgroup_util.c 26$(OUTPUT)/test_cpu: cgroup_util.c 27$(OUTPUT)/test_cpuset: cgroup_util.c 28$(OUTPUT)/test_freezer: cgroup_util.c 29$(OUTPUT)/test_hugetlb_memcg: cgroup_util.c 30$(OUTPUT)/test_kill: cgroup_util.c 31$(OUTPUT)/test_kmem: cgroup_util.c 32$(OUTPUT)/test_memcontrol: cgroup_util.c 33$(OUTPUT)/test_pids: cgroup_util.c 34$(OUTPUT)/test_zswap: cgroup_util.c 35