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: 117491 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp4386947vqx; Sun, 9 Jul 2023 04:17:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlGAb4HCCc74Adiw1hv/N8sw7mPOyQhxY1PbZIeQP5+nO6fIn07AaO5QArCkPxTjxU0JrlrL X-Received: by 2002:a17:902:d2cf:b0:1b3:d357:5ea6 with SMTP id n15-20020a170902d2cf00b001b3d3575ea6mr11720152plc.53.1688901470921; Sun, 09 Jul 2023 04:17:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688901470; cv=none; d=google.com; s=arc-20160816; b=v7H/ygkxhf+IIOPfHb7fsdFB7BoxQYUYckigHtGV+WGzVdtNPVYUnswCgh4WfNcfUU /2zkQrAwx2p+oqtY5D6l0vuTXs/V/jvkzRjVteBhJYqumQXl2UNY6elGuQfSY6wtr3qg SNIKjkuC0pvlTdHFcNhlssabYLixOvFzsQ5JVFOxZ+jBW0SuXBaw6aRxOtw0TiVKCTUb lPRYhMsm8cL4XizNq5eL2Iz8f9O6mly6d49ODCbRDQFjr+oV8spFAe1hLSRiGywIYZMZ /HudTEohYl6DVqPJ9d2lNPl0vIgEDQLCokk2Bq+TNboekpEWHHSVjjQdfcwNBRMu1Mck gsmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=Ia7P+k+Vb4VVnnMpxsCGIbTDUHeCgG9h8xE0msYh7Nk=; fh=wPUzlUTuReq/167B3z2guAef2CKMSFZ9sJvmpMei1nE=; b=NdJBwnZU7Ea9heMhamZaB2I5bIFEPP+7XGxkF7rP66DSQnyYxafiq4ZmG9OXV5ez2L 9DFESXJkspTqP6mYF0bV6DzkldNk15c8uj9wGriswjlPBsPR1DswpKkNF+B7Atcazg5b cVoZKyCbNeqKmIfZa8fe5MEAvez/lqvPhnoDwwTfYNd3lRDRdzdbJkOkJe7fEFKihWwN tZCS566GH1SOxCjyeWN2jhOv56fNsIJMbjDhuThPEf5fgjHZmIhhn4Q07/wTb/Ba4V3s dJgGaQs00iAHTqLqdMBvma3QafiUhE7K2aZEcSioCBd+v5pWhWqHp2W0jH3NGu6msfE3 GOYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ak8eYXRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a170902e84900b001b8a73eaaa8si7614092plg.332.2023.07.09.04.17.38; Sun, 09 Jul 2023 04:17:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ak8eYXRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230265AbjGIKHN (ORCPT + 99 others); Sun, 9 Jul 2023 06:07:13 -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= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770941548790179871?= X-GMAIL-MSGID: =?utf-8?q?1770941548790179871?= 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} }