summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2023-07-09 12:06:56 +0200
committerBenjamin Tissoires <bentiss@kernel.org>2023-07-09 12:10:04 +0200
commitf9abdcc617dad5f14bbc2ebe96ee99f3e6de0c4e (patch)
tree35aa9b52710c05edc9ac8587f3ef922c4ee4456e /tools
parent0e382fa72bbf0610be40af9af9b03b0cd149df82 (diff)
selftests: hid: fix vmtests.sh not running make headers
According to commit 01d6c48a828b ("Documentation: kselftest: "make headers" is a prerequisite"), running the kselftests requires to run "make headers" first. Do that in "vmtest.sh" as well to fix the HID CI. Link: https://lore.kernel.org/r/20230709-fix-selftests-v1-1-57d0878114cc@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/hid/vmtest.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/hid/vmtest.sh b/tools/testing/selftests/hid/vmtest.sh
index 681b906b4853..4da48bf6b328 100755
--- a/tools/testing/selftests/hid/vmtest.sh
+++ b/tools/testing/selftests/hid/vmtest.sh
@@ -79,6 +79,7 @@ recompile_kernel()
cd "${kernel_checkout}"
${make_command} olddefconfig
+ ${make_command} headers
${make_command}
}