xref: /linux/tools/testing/selftests/cgroup/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
184092dbcSRoman Gushchin# SPDX-License-Identifier: GPL-2.0
211318989SMichal KoutnýCFLAGS += -Wall -pthread
384092dbcSRoman Gushchin
4a8c52ebaSWaiman Longall: ${HELPER_PROGS}
584092dbcSRoman Gushchin
61a99fcc0SMichal KoutnýTEST_FILES     := with_stress.sh
7812c5945SWaiman LongTEST_PROGS     := test_stress.sh test_cpuset_prs.sh test_cpuset_v1_hp.sh
8a8c52ebaSWaiman LongTEST_GEN_FILES := wait_inotify
970559685SMichal Koutný# Keep the lists lexicographically sorted
1070559685SMichal KoutnýTEST_GEN_PROGS  = test_core
11820a4f88SDavid VernetTEST_GEN_PROGS += test_cpu
12cd3c6f68SMichal KoutnýTEST_GEN_PROGS += test_cpuset
1370559685SMichal KoutnýTEST_GEN_PROGS += test_freezer
14c0dddb7aSNhat PhamTEST_GEN_PROGS += test_hugetlb_memcg
1570559685SMichal KoutnýTEST_GEN_PROGS += test_kill
1670559685SMichal KoutnýTEST_GEN_PROGS += test_kmem
1770559685SMichal KoutnýTEST_GEN_PROGS += test_memcontrol
18*9f34c566SMichal KoutnýTEST_GEN_PROGS += test_pids
1970559685SMichal KoutnýTEST_GEN_PROGS += test_zswap
2084092dbcSRoman Gushchin
21a738a4ceSAnders RoxellLOCAL_HDRS += $(selfdir)/clone3/clone3_selftests.h $(selfdir)/pidfd/pidfd.h
22a738a4ceSAnders Roxell
2384092dbcSRoman Gushchininclude ../lib.mk
2484092dbcSRoman Gushchin
25a738a4ceSAnders Roxell$(OUTPUT)/test_core: cgroup_util.c
26820a4f88SDavid Vernet$(OUTPUT)/test_cpu: cgroup_util.c
27cd3c6f68SMichal Koutný$(OUTPUT)/test_cpuset: cgroup_util.c
2870559685SMichal Koutný$(OUTPUT)/test_freezer: cgroup_util.c
29c0dddb7aSNhat Pham$(OUTPUT)/test_hugetlb_memcg: cgroup_util.c
3070559685SMichal Koutný$(OUTPUT)/test_kill: cgroup_util.c
3170559685SMichal Koutný$(OUTPUT)/test_kmem: cgroup_util.c
3270559685SMichal Koutný$(OUTPUT)/test_memcontrol: cgroup_util.c
33*9f34c566SMichal Koutný$(OUTPUT)/test_pids: cgroup_util.c
3470559685SMichal Koutný$(OUTPUT)/test_zswap: cgroup_util.c
35