summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/pid_namespace/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-04-08 14:48:35 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2022-04-08 14:48:35 -1000
commit9abb16bad5d802e4a1fce3a498d5ee6a334e84a4 (patch)
tree55d84a8ba31585a3363b5b7cff2f3f087b320473 /tools/testing/selftests/pid_namespace/Makefile
parent911b2b95168c7790ed5ea2703d804086c03088df (diff)
parent79ee8aa31d518c1fd5f3b1b1ac39dd1fb4dc7039 (diff)
downloadlinux-9abb16bad5d802e4a1fce3a498d5ee6a334e84a4.tar.bz2
Merge tag 'linux-kselftest-fixes-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull Kselftest fixes from Shuah Khan: "Build and run-times fixes to tests: - header dependencies - missing tear-downs to release allocated resources in assert paths - missing error messages when build fails - coccicheck and unused variable warnings" * tag 'linux-kselftest-fixes-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: selftests/harness: Pass variant to teardown selftests/harness: Run TEARDOWN for ASSERT failures selftests: fix an unused variable warning in pidfd selftest selftests: fix header dependency for pid_namespace selftests selftests: x86: add 32bit build warnings for SUSE selftests/proc: fix array_size.cocci warning selftests/vDSO: fix array_size.cocci warning
Diffstat (limited to 'tools/testing/selftests/pid_namespace/Makefile')
-rw-r--r--tools/testing/selftests/pid_namespace/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testing/selftests/pid_namespace/Makefile b/tools/testing/selftests/pid_namespace/Makefile
index dcaefa224ca0..edafaca1aeb3 100644
--- a/tools/testing/selftests/pid_namespace/Makefile
+++ b/tools/testing/selftests/pid_namespace/Makefile
@@ -1,8 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
CFLAGS += -g -I../../../../usr/include/
-TEST_GEN_PROGS := regression_enomem
+TEST_GEN_PROGS = regression_enomem
-include ../lib.mk
+LOCAL_HDRS += $(selfdir)/pidfd/pidfd.h
-$(OUTPUT)/regression_enomem: regression_enomem.c ../pidfd/pidfd.h
+include ../lib.mk