Re: [PATCH 2/3] selftests/capabilities: actually test it
From: Michael Ellerman <hidden>
Date: 2015-11-16 05:18:13
On Sat, 2015-11-14 at 14:01 +0800, Bamvor Jian Zhang wrote:
quoted hunk
The capatabilities exist in selftest but no in the TARGET list. Add it to the TARGET. Signed-off-by: Bamvor Jian Zhang <redacted> --- tools/testing/selftests/Makefile | 1 + 1 file changed, 1 insertion(+)diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 2458288..71b147e 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile@@ -1,4 +1,5 @@ TARGETS = breakpoints +TARGETS += capabilities TARGETS += cpu-hotplug TARGETS += efivarfs TARGETS += exec
This breaks when you use TARGETS on the command line, eg: $ make -C tools/testing/selftests TARGETS=capabilities make[1]: *** No rule to make target 'capabilities', needed by 'all'. Stop. That's because the capabilities/Makefile uses the variable TARGETS internally. You need to change the name of that variable in capabilities/Makefile, eg. to BINARIES or something. cheers