From patchwork Thu Jun 29 16:23:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QmrDtnJuIFTDtnBlbA==?= X-Patchwork-Id: 698223 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 E9A89EB64D9 for ; Thu, 29 Jun 2023 16:23:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231464AbjF2QXY (ORCPT ); Thu, 29 Jun 2023 12:23:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232321AbjF2QXT (ORCPT ); Thu, 29 Jun 2023 12:23:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0285CCF; Thu, 29 Jun 2023 09:23:19 -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 8CB6D61595; Thu, 29 Jun 2023 16:23:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7985CC433C8; Thu, 29 Jun 2023 16:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688055798; bh=eSikYjWsf1u1YgOapbpSLUxaH7RnxQ8gql0i+FIyKOE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GH5vzihxkqKrWfUSkEKUdSRtT7VCzM3913wENVZNjt2Ql/kVpdzrxhXsx/kjSSTio kpKtokaAAj1o0/AnrmymQb6xOXoKr/DjEOAI/TAMMf1UUPT+K7TmoDi35HpGUawsKR NqyorhSn7WiV6Y4f3mZxc/hvyYK48p/J9iF5JoNaWgkRZTSuAxylqqdxFllwGMw/hb thcQVYfMLEfqO6w1Mn8o8xI3muqD0PkJtpRb4EYWM3O5MDhi2nrEvlI3VT1GQdcPhS 0CmMhC0Zq7YLi7sUBMqF6xpezgMz0gmHhPR55oFW/hKGJJ1/+Ae1B0NsGc3o/eZ0uf 9jT9uq6fOl0CA== From: =?utf-8?b?QmrDtnJuIFTDtnBlbA==?= To: Shuah Khan , linux-kselftest@vger.kernel.org Cc: =?utf-8?b?QmrDtnJuIFTDtnBlbA==?= , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Alexey Dobriyan , linux-fsdevel@vger.kernel.org, Anders Roxell Subject: [PATCH 2/2] selftests/proc: Do not build x86-64 tests on non-x86-64 builds Date: Thu, 29 Jun 2023 18:23:00 +0200 Message-Id: <20230629162301.1234157-3-bjorn@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230629162301.1234157-1-bjorn@kernel.org> References: <20230629162301.1234157-1-bjorn@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org From: Björn Töpel The proc-empty-vm test is x86-64 only. Remove that test from non-x86-64 builds. Signed-off-by: Björn Töpel --- tools/testing/selftests/proc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/proc/Makefile b/tools/testing/selftests/proc/Makefile index cd95369254c0..35e765f79b6d 100644 --- a/tools/testing/selftests/proc/Makefile +++ b/tools/testing/selftests/proc/Makefile @@ -8,7 +8,11 @@ TEST_GEN_PROGS += fd-001-lookup TEST_GEN_PROGS += fd-002-posix-eq TEST_GEN_PROGS += fd-003-kthread TEST_GEN_PROGS += proc-loadavg-001 + +ifneq (,$(filter $(ARCH),x86_64)) TEST_GEN_PROGS += proc-empty-vm +endif + TEST_GEN_PROGS += proc-pid-vm TEST_GEN_PROGS += proc-self-map-files-001 TEST_GEN_PROGS += proc-self-map-files-002