1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 CFLAGS += -Wall -pthread 2 CFLAGS += -Wall -pthread 3 3 4 all: ${HELPER_PROGS} !! 4 all: 5 5 6 TEST_FILES := with_stress.sh 6 TEST_FILES := with_stress.sh 7 TEST_PROGS := test_stress.sh test_cpuset_p !! 7 TEST_PROGS := test_stress.sh 8 TEST_GEN_FILES := wait_inotify !! 8 TEST_GEN_PROGS = test_memcontrol 9 # Keep the lists lexicographically sorted !! 9 TEST_GEN_PROGS += test_kmem 10 TEST_GEN_PROGS = test_core !! 10 TEST_GEN_PROGS += test_core 11 TEST_GEN_PROGS += test_cpu << 12 TEST_GEN_PROGS += test_cpuset << 13 TEST_GEN_PROGS += test_freezer 11 TEST_GEN_PROGS += test_freezer 14 TEST_GEN_PROGS += test_hugetlb_memcg << 15 TEST_GEN_PROGS += test_kill 12 TEST_GEN_PROGS += test_kill 16 TEST_GEN_PROGS += test_kmem << 17 TEST_GEN_PROGS += test_memcontrol << 18 TEST_GEN_PROGS += test_pids << 19 TEST_GEN_PROGS += test_zswap << 20 13 21 LOCAL_HDRS += $(selfdir)/clone3/clone3_selftes 14 LOCAL_HDRS += $(selfdir)/clone3/clone3_selftests.h $(selfdir)/pidfd/pidfd.h 22 15 23 include ../lib.mk 16 include ../lib.mk 24 17 >> 18 $(OUTPUT)/test_memcontrol: cgroup_util.c >> 19 $(OUTPUT)/test_kmem: cgroup_util.c 25 $(OUTPUT)/test_core: cgroup_util.c 20 $(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 21 $(OUTPUT)/test_freezer: cgroup_util.c 29 $(OUTPUT)/test_hugetlb_memcg: cgroup_util.c << 30 $(OUTPUT)/test_kill: cgroup_util.c 22 $(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 <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.