kselftest/vm: override TARGETS from arguments
authorChengming Zhou <zhouchengming@bytedance.com>
Mon, 28 Feb 2022 23:06:37 +0000 (10:06 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 1 Mar 2022 09:31:48 +0000 (20:31 +1100)
commit784c6b83b4c94c03969f2a9aba1ffa74b76912cd
tree3ec93e59e0ec6f61e9cfe4e90dd51b96755f71e1
parente437208fb4426613c3ada68eec7c0995cf6bfe94
kselftest/vm: override TARGETS from arguments

We can specify which testcases to build using TARGETS argument, for
example: make -C tools/testing/selftests TARGETS=vm, cause the ordinary
assignment of TARGETS in Makefile will be ignored.  So we need to use
override directive to change that.

Link: https://lkml.kernel.org/r/20220227055330.43087-1-zhouchengming@bytedance.com
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
tools/testing/selftests/vm/Makefile