162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciCFLAGS += -Wall -pthread
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciall: ${HELPER_PROGS}
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciTEST_FILES     := with_stress.sh
762306a36Sopenharmony_ciTEST_PROGS     := test_stress.sh test_cpuset_prs.sh
862306a36Sopenharmony_ciTEST_GEN_FILES := wait_inotify
962306a36Sopenharmony_ciTEST_GEN_PROGS = test_memcontrol
1062306a36Sopenharmony_ciTEST_GEN_PROGS += test_kmem
1162306a36Sopenharmony_ciTEST_GEN_PROGS += test_core
1262306a36Sopenharmony_ciTEST_GEN_PROGS += test_freezer
1362306a36Sopenharmony_ciTEST_GEN_PROGS += test_kill
1462306a36Sopenharmony_ciTEST_GEN_PROGS += test_cpu
1562306a36Sopenharmony_ciTEST_GEN_PROGS += test_cpuset
1662306a36Sopenharmony_ciTEST_GEN_PROGS += test_zswap
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciLOCAL_HDRS += $(selfdir)/clone3/clone3_selftests.h $(selfdir)/pidfd/pidfd.h
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciinclude ../lib.mk
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci$(OUTPUT)/test_memcontrol: cgroup_util.c
2362306a36Sopenharmony_ci$(OUTPUT)/test_kmem: cgroup_util.c
2462306a36Sopenharmony_ci$(OUTPUT)/test_core: cgroup_util.c
2562306a36Sopenharmony_ci$(OUTPUT)/test_freezer: cgroup_util.c
2662306a36Sopenharmony_ci$(OUTPUT)/test_kill: cgroup_util.c
2762306a36Sopenharmony_ci$(OUTPUT)/test_cpu: cgroup_util.c
2862306a36Sopenharmony_ci$(OUTPUT)/test_cpuset: cgroup_util.c
2962306a36Sopenharmony_ci$(OUTPUT)/test_zswap: cgroup_util.c
30