From patchwork Sun Jul 9 10:06:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Tissoires X-Patchwork-Id: 700972 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD573EB64DD for ; Sun, 9 Jul 2023 10:07:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229819AbjGIKHM (ORCPT ); Sun, 9 Jul 2023 06:07:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbjGIKHL (ORCPT ); Sun, 9 Jul 2023 06:07:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 310C6183; Sun, 9 Jul 2023 03:07:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BC39660BB8; Sun, 9 Jul 2023 10:07:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1C42C433C8; Sun, 9 Jul 2023 10:07:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688897229; bh=YiC7vsFEwKb4652ST6mgQTuJ5tIJjs2WjiDvNytTSkA=; h=From:Date:Subject:To:Cc:From; b=ak8eYXRykzYaZ+CT8VZ16gkWxFdhtbScVb+ZvC9HD/YYtk7Y7Ym8SSnrUmiZZdP90 Grkri2piYNGS6NTkkTpqtQf2tcJcSEDg4uT9ElY7Zj96SfVLtUAG4jTk9G6EMZcq6X yoGbUxvPH+wsT8T1KmBO0PyGaaqecFCL2KXoeUUCat2kcGT3FSxSpj55iOfYJd3r+0 rCT2YVHSEWIynhea7+1uTQPDqjDJvYd9GBJ2pxMc9Db0ni3ENEVSmyA7xm84AypmCE ykaA8oK/tFP97AGaJ6kSpf3gtrJdzaQklNpCZ52QvAFQ5o0vaHv0K7q/DUAYi8Ruf6 ejR5JGuAeOAdg== From: Benjamin Tissoires Date: Sun, 09 Jul 2023 12:06:56 +0200 Subject: [PATCH] selftests: hid: fix vmtests.sh not running make headers MIME-Version: 1.0 Message-Id: <20230709-fix-selftests-v1-1-57d0878114cc@kernel.org> X-B4-Tracking: v=1; b=H4sIAL+GqmQC/1WNSwqEQAxEryJZTyC2Cz9XERf9SWtAeoaODIJ4d 1t3Ll9VPeoA5SysMFQHZP6LyjcVqD8V+MWmmVFCYTBkGmqpxyg7Kq9xY90UfefIhRjrYAiK46w yumyTX27rNb77X+aSPX/jdJ4XvvrwRn8AAAA= To: Jiri Kosina , Shuah Khan Cc: linux-input@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688897227; l=1238; i=bentiss@kernel.org; s=20230215; h=from:subject:message-id; bh=YiC7vsFEwKb4652ST6mgQTuJ5tIJjs2WjiDvNytTSkA=; b=i8Cad3ZOWxNgSbxUlrlETAV29S0Wk04029Ut4MMM0wYaxWf3haJ9O8kHyIOWA3MVyaNT9lKm0 yPkRH7D2akoAKHeeRzPYxjnuMgEpBWOSOZQg/HRyIirjpMVbcU5OC3y X-Developer-Key: i=bentiss@kernel.org; a=ed25519; pk=7D1DyAVh6ajCkuUTudt/chMuXWIJHlv2qCsRkIizvFw= Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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. Signed-off-by: Benjamin Tissoires --- Looks like the new master branch (v6.5-rc1) broke my CI. And given that `make headers` is now a requisite to run the kselftests, also include that command in vmtests.sh. Broken CI job: https://gitlab.freedesktop.org/bentiss/hid/-/jobs/44704436 Fixed CI job: https://gitlab.freedesktop.org/bentiss/hid/-/jobs/45151040 --- tools/testing/selftests/hid/vmtest.sh | 1 + 1 file changed, 1 insertion(+) --- base-commit: 0e382fa72bbf0610be40af9af9b03b0cd149df82 change-id: 20230709-fix-selftests-c8b0bdff1d20 Best regards, 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} }