From patchwork Thu Feb 15 18:12:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcos Paulo de Souza X-Patchwork-Id: 201687 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp28607dyb; Thu, 15 Feb 2024 10:13:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVN9T+f4TdKUOF9XwdJxzZbwciS5sVMhZYRpC8iEh8l/QSzeekM3UHZMWPyPdm181qYDVceiGwo/tWAIVPYS4QLa0WrXQ== X-Google-Smtp-Source: AGHT+IF9mEWWNMfXAX5fP92WWMSnNV8sxi0siDca1PaVfJd63NGOR2AB50oF3N1K9gAnn6zc//Ol X-Received: by 2002:ac8:7f14:0:b0:42c:4707:54a0 with SMTP id f20-20020ac87f14000000b0042c470754a0mr8376902qtk.18.1708020809112; Thu, 15 Feb 2024 10:13:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708020809; cv=pass; d=google.com; s=arc-20160816; b=Nfd7EkYYqIDqwls8SseFctkAeYnos7bLUrjEqx6RRxoqF3sRRWi2Q7nUoz3XiOX11G b6PTNEPaYmtbrM8HddTYSxL7wgJum33A6XKuoopbr4e0LCkRas/S4E9lHAzIwqmRaDRA W9Ty2hOfrx/2eBKj3omIRneWCMqArx87qtYIYTlQcUzMKmHsrxtLBrXMHTBe+64BFiiT nceNk4t1BTZeYKgDk3xKtbTctF3dUPTUmDywaQPMWMONkWz1RySteMaE9/hRPiNUf9Ep jSTKbyqFVzHXa44x28U6nMRxCT0R/PhIyywg1/GBV+gIsO1/CRDpZVdjnax4vZGJEq27 lr1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from; bh=HbqZhhOJX07boxoLLJUyilhs4tb4nw42hQC6B37FTkA=; fh=oGTeheTGtJi/O2KL90xHksAdkswU33tM/8rayu80xMU=; b=tOryZ08NfbclnKGzJ1Y33SZ0h1zTFkA2ItJZEkQ/SZmb2XG3Ps2KRhT7y6h58QTxs6 QhbdZBlcps7l5xLm9J6ZgcyAXZc8FiZtqbsfp6WcM/CIQo7gHW1KCbbmEfX5l3C71HyR 8kPazAKgeW97GyqeyK97eY5MKJojtz9+wTOM29ctbqjbW1Y5OkduT0PpCmZP+Qhkd5an 5JXbIeGIBWSBQqGT6sTBCQsFj/CfC4MsuhsSf64rV8GGmbBHEHT4AuXdXbBdVteuXZ/8 38izys5jadji4MuaGEgMLUc5ZB9PJEGnGIHzKoQPZMGk1Vlu7n8LGPKwUig9OYsc5kof ZlUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-67477-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67477-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v30-20020a05622a189e00b0042c44c065e6si2098856qtc.733.2024.02.15.10.13.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 10:13:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67477-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-67477-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67477-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A66A41C21CB1 for ; Thu, 15 Feb 2024 18:13:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC4AA139592; Thu, 15 Feb 2024 18:12:47 +0000 (UTC) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46F3A1386D3; Thu, 15 Feb 2024 18:12:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708020766; cv=none; b=acFNgWezsgKmi2HOSdu2Qk4BkowvMoMXygURiWZVbgi2sJBAWBOvg9yI7fWMUwkLV9OaYhGKYLxD5GZiIjfoHW4vHvYpmQX90WuEF83eH1Ulc0I9uBc9BGvu7OIzI4rNWlKISW6jHjZLNiTcjl4K+xlTLKh6kakAGjN+LwyPHew= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708020766; c=relaxed/simple; bh=/oVRt9J85nXIjb42Ew5A1lAd/g3N6kuHuj8z2sOBZ30=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=e51HBobAaj8LedVohBYpcKWOEZCI5mpFbhjloCBKbnBR72X6Brl20woKcpu8ysKobJSozp8rredySWvowZ5aG2UIhPi+QGRvNYcapEkLRXWfcicHgG2WuaKPX3iEKxevlfV681ZW4sA0klX7kkKRq6y3kPBHUkYvZC9e01Lo2a8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 8681B1F8CD; Thu, 15 Feb 2024 18:12:41 +0000 (UTC) Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 1320F1346A; Thu, 15 Feb 2024 18:12:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id z3IGMhhUzmXvVwAAn2gu4w (envelope-from ); Thu, 15 Feb 2024 18:12:40 +0000 From: Marcos Paulo de Souza Date: Thu, 15 Feb 2024 15:12:20 -0300 Subject: [PATCH 1/3] selftests: lib.mk: Do not process TEST_GEN_MODS_DIR Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240215-lp-selftests-fixes-v1-1-89f4a6f5cddc@suse.com> References: <20240215-lp-selftests-fixes-v1-0-89f4a6f5cddc@suse.com> In-Reply-To: <20240215-lp-selftests-fixes-v1-0-89f4a6f5cddc@suse.com> To: Shuah Khan , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Marcos Paulo de Souza X-Mailer: b4 0.13-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1708020755; l=1247; i=mpdesouza@suse.com; s=20231031; h=from:subject:message-id; bh=/oVRt9J85nXIjb42Ew5A1lAd/g3N6kuHuj8z2sOBZ30=; b=YduZ53j14sbJDbhmCGu4WTRZjknj6Xx1QU8RIrIyDhEQUzAt38wSKhIT6yVyu0HOtdP10BtSp FgMIbf8PKKFACY5KwcgUjCI3NIcgM9EtBpSF6FlbSSjAXyQOF/l/4U1 X-Developer-Key: i=mpdesouza@suse.com; a=ed25519; pk=/Ni/TsKkr69EOmdZXkp1Q/BlzDonbOBRsfPa18ySIwU= Authentication-Results: smtp-out2.suse.de; none X-Spamd-Result: default: False [-4.00 / 50.00]; REPLY(-4.00)[] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Rspamd-Queue-Id: 8681B1F8CD X-Spam-Level: X-Spam-Score: -4.00 X-Spam-Flag: NO X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790989627862411809 X-GMAIL-MSGID: 1790989627862411809 The directory itself doesn't need have path handling, since it's only to mean where is the directory that contains modules to be built. Signed-off-by: Marcos Paulo de Souza --- tools/testing/selftests/lib.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk index 0d8b7db92715..286ce0ee102b 100644 --- a/tools/testing/selftests/lib.mk +++ b/tools/testing/selftests/lib.mk @@ -54,12 +54,9 @@ endif # TEST_PROGS are for test shell scripts. # TEST_CUSTOM_PROGS and TEST_PROGS will be run by common run_tests # and install targets. Common clean doesn't touch them. -# TEST_GEN_MODS_DIR is used to specify a directory with modules to be built -# before the test executes. These modules are cleaned on the clean target as well. TEST_GEN_PROGS := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS)) TEST_GEN_PROGS_EXTENDED := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS_EXTENDED)) TEST_GEN_FILES := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_FILES)) -TEST_GEN_MODS_DIR := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_MODS_DIR)) all: $(TEST_GEN_PROGS) $(TEST_GEN_PROGS_EXTENDED) $(TEST_GEN_FILES) \ $(if $(TEST_GEN_MODS_DIR),gen_mods_dir) From patchwork Thu Feb 15 18:12:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcos Paulo de Souza X-Patchwork-Id: 201688 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp28790dyb; Thu, 15 Feb 2024 10:13:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVH3oEP8RAsvHTzKcEydNQ/sG974O+FbihtOfuCxtA7/YgoLRdkB0jQ+ZGMLFeq/scggdmqqU2W2gDdXXXgIioyQNrJmA== X-Google-Smtp-Source: AGHT+IH/s5AN7ITSAT/UIlmweWANhKb2vaUPskBMtxyGvAA6suFi9V+RTCWjTAfMm7l+DUQyGNVu X-Received: by 2002:a17:906:c309:b0:a3c:aef1:e01c with SMTP id s9-20020a170906c30900b00a3caef1e01cmr1645878ejz.14.1708020824824; Thu, 15 Feb 2024 10:13:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708020824; cv=pass; d=google.com; s=arc-20160816; b=NT3tllau74g2pEsp/BhU7dWrjhyo+kMXgPerabE37PQluTIe+yw6zPYrzDIbp21cS8 PRLRmCv0L8BKIGawXR4GeqPPxrlVmz/w5u2gSsW6VxESImWfg5gGuoUB/hHEWZ1y3WbY 59HzXlpkNjeHxZVz1DbmjXLX0uxEHzyRbMj0PMiyvNTen7X4KtduvDzi+wkCXPVJDRky cfCD8Y+Onq6121Ix2j74NHT3ktY8UXxpd2uCFmq53AR3tuO25NftSpyueghQBmEPh0rR eQHPjGldfVN5klKF4OasjaiGIquHPlp3REP6TJgHHlL2ntURF8MN+suj7vJCPISAlURV 2tYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature:dkim-signature; bh=D9P8j5qWhDJz4Oep9mbgqw672iDvJafFPD4oyhUBddI=; fh=oGTeheTGtJi/O2KL90xHksAdkswU33tM/8rayu80xMU=; b=U+H1UlocaUPzZPb+ft1A5/ztHVYDZlHbhkVJOpNylhAp3A4Xap4M9774hc+ve9eFoa ZxyBbXLd+uaXVgJ9Py++Ci41xkVJV0WRCiK8QbwCuiU5EeFn2vVOmzA9yjMv7hKfI3eu CJTw+642MOIKd8bN8r16mEZ9NLn3Kk8m1rkmD5zkk02lgpcE8XrOBrfegrwIMYy7hgv3 e0EC8gk+7tAF2sjCTu2hyqMwOIvSBpki7bvherltTUxZBTzuYh5An2L/gCCKh/s3R7Ng nXUPsrVihZ1wXwuA+5libGdHyeTQlEs3DJXXbaDxyAd1fsVeRxTS6p2QgB/4ixG69tTf v6nA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=KQpjfkGK; dkim=pass header.i=@suse.com header.s=susede1 header.b=KQpjfkGK; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-67478-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67478-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o6-20020a17090611c600b00a3d4f27f85dsi872161eja.213.2024.02.15.10.13.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 10:13:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67478-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=KQpjfkGK; dkim=pass header.i=@suse.com header.s=susede1 header.b=KQpjfkGK; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-67478-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67478-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 438F21F23FA7 for ; Thu, 15 Feb 2024 18:13:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 53D2013A24B; Thu, 15 Feb 2024 18:12:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="KQpjfkGK"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="KQpjfkGK" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A7EF613957B; Thu, 15 Feb 2024 18:12:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708020768; cv=none; b=tvahn36Y8d0J9cp5EzbPmgLlDO9JvKg+ulaqN39h6z2AGmKVEl8yl1w2Pza5q8QogVida3zzWpGmlpCo/r6hxyCNWyi/kQ4AnKzZRycMN/XdgYzTFuLRhIaEhQtyvvWMUiVXwDAvna5uqU9aULCMsGwANMGdNGphD/+3VIiXr4A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708020768; c=relaxed/simple; bh=4sRYEFsMr0x8AvEq/m65uPROo9JRLFixj6hIrz82inQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=svJ9CC6d1/Xe2SGQZ/jWKKqrHl9UuoK0UIKTltNBhWl7as4fFvUBriIu2RJ0fg8tzmH6j5x3yQpGxs9AC5NvacrtLxbUcpvI1NsXSaTxJPG2L7HUZBs06luH1QIJQnG3vW0qn4dOgr/6GNE8kJwOa9AEmLtCTs0wiJADopelBaM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=KQpjfkGK; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=KQpjfkGK; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [10.150.64.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B37301F8C5; Thu, 15 Feb 2024 18:12:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708020764; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D9P8j5qWhDJz4Oep9mbgqw672iDvJafFPD4oyhUBddI=; b=KQpjfkGK5ng/v33n/Ir87kQIzKraqrPK5YGCGb+rZY6SrG6MPtnZxUD/Yo94axeOAzSvIh vO8XWdMxpZyMRfRRFRA5pyKq75AcN0BJMJTCdhZwRW2pFnmjn6r1fu94Uya7Ac6zEn22xE 6vKcDHwbUarZGh1oQGPVAZkhUP65eqM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708020764; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D9P8j5qWhDJz4Oep9mbgqw672iDvJafFPD4oyhUBddI=; b=KQpjfkGK5ng/v33n/Ir87kQIzKraqrPK5YGCGb+rZY6SrG6MPtnZxUD/Yo94axeOAzSvIh vO8XWdMxpZyMRfRRFRA5pyKq75AcN0BJMJTCdhZwRW2pFnmjn6r1fu94Uya7Ac6zEn22xE 6vKcDHwbUarZGh1oQGPVAZkhUP65eqM= Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 3BA371346A; Thu, 15 Feb 2024 18:12:44 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id 2QdrARxUzmXzVwAAn2gu4w (envelope-from ); Thu, 15 Feb 2024 18:12:44 +0000 From: Marcos Paulo de Souza Date: Thu, 15 Feb 2024 15:12:21 -0300 Subject: [PATCH 2/3] selftests: lib.mk: Simplify TEST_GEN_MODS_DIR handling Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240215-lp-selftests-fixes-v1-2-89f4a6f5cddc@suse.com> References: <20240215-lp-selftests-fixes-v1-0-89f4a6f5cddc@suse.com> In-Reply-To: <20240215-lp-selftests-fixes-v1-0-89f4a6f5cddc@suse.com> To: Shuah Khan , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Marcos Paulo de Souza X-Mailer: b4 0.13-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1708020755; l=1959; i=mpdesouza@suse.com; s=20231031; h=from:subject:message-id; bh=4sRYEFsMr0x8AvEq/m65uPROo9JRLFixj6hIrz82inQ=; b=zcZfYignRJgaR7E+a9UrQ2W5kHaC7C6bqwgG6KEBroOV/CxO0xVhtic0jk4F0RCX1ltxR9oHO mzz7XojaO0UA5mH1no0pEF4eCUnH6RxgScd4yoA+nnO42nuUvLrd9Mg X-Developer-Key: i=mpdesouza@suse.com; a=ed25519; pk=/Ni/TsKkr69EOmdZXkp1Q/BlzDonbOBRsfPa18ySIwU= Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: X-Spam-Score: -0.20 X-Spamd-Result: default: False [-0.20 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; BAYES_SPAM(5.10)[100.00%]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; REPLY(-4.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCPT_COUNT_SEVEN(0.00)[10]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Flag: NO X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790989644451134517 X-GMAIL-MSGID: 1790989644451134517 We don't need new targets only to run two make modules and make clean. We can test if TEST_GEN_MODS_DIR is specified, and then run the commands. Signed-off-by: Marcos Paulo de Souza --- tools/testing/selftests/lib.mk | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk index 286ce0ee102b..eddcd4a849dc 100644 --- a/tools/testing/selftests/lib.mk +++ b/tools/testing/selftests/lib.mk @@ -58,8 +58,9 @@ TEST_GEN_PROGS := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS)) TEST_GEN_PROGS_EXTENDED := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS_EXTENDED)) TEST_GEN_FILES := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_FILES)) -all: $(TEST_GEN_PROGS) $(TEST_GEN_PROGS_EXTENDED) $(TEST_GEN_FILES) \ - $(if $(TEST_GEN_MODS_DIR),gen_mods_dir) +all: $(TEST_GEN_PROGS) $(TEST_GEN_PROGS_EXTENDED) $(TEST_GEN_FILES) + $(if $(TEST_GEN_MODS_DIR), \ + $(Q)$(MAKE) -C $(TEST_GEN_MODS_DIR)) define RUN_TESTS BASE_DIR="$(selfdir)"; \ @@ -85,11 +86,6 @@ else @$(call RUN_TESTS, $(TEST_GEN_PROGS) $(TEST_CUSTOM_PROGS) $(TEST_PROGS)) endif -gen_mods_dir: - $(Q)$(MAKE) -C $(TEST_GEN_MODS_DIR) - -clean_mods_dir: - $(Q)$(MAKE) -C $(TEST_GEN_MODS_DIR) clean define INSTALL_SINGLE_RULE $(if $(INSTALL_LIST),@mkdir -p $(INSTALL_PATH)) @@ -133,9 +129,11 @@ endif define CLEAN $(RM) -r $(TEST_GEN_PROGS) $(TEST_GEN_PROGS_EXTENDED) $(TEST_GEN_FILES) $(EXTRA_CLEAN) + $(if $(TEST_GEN_MODS_DIR), \ + $(Q)$(MAKE) -C $(TEST_GEN_MODS_DIR) clean) endef -clean: $(if $(TEST_GEN_MODS_DIR),clean_mods_dir) +clean: $(CLEAN) # Enables to extend CFLAGS and LDFLAGS from command line, e.g. @@ -166,4 +164,4 @@ $(OUTPUT)/%:%.S $(LINK.S) $^ $(LDLIBS) -o $@ endif -.PHONY: run_tests all clean install emit_tests gen_mods_dir clean_mods_dir +.PHONY: run_tests all clean install emit_tests From patchwork Thu Feb 15 18:12:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcos Paulo de Souza X-Patchwork-Id: 201689 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp28905dyb; Thu, 15 Feb 2024 10:13:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW3UTLtHhcrPqxosMT2mIsxmRc9ppxYo2Lt+XPyODeBzQyomKQms6sG2FhvX+TwfFYj3sy7+Yf2qdBpQ9pUbt07HOmc0Q== X-Google-Smtp-Source: AGHT+IH0R1x5Y0bxPsdl4DEVdQtBFuOaxRpCNIwNPCtFa5nz9UOIl8FpBiZvgJxXiymg9lV0CXhL X-Received: by 2002:a05:6359:c85:b0:17b:df2:5f09 with SMTP id go5-20020a0563590c8500b0017b0df25f09mr2124585rwb.19.1708020837447; Thu, 15 Feb 2024 10:13:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708020837; cv=pass; d=google.com; s=arc-20160816; b=eOYtE9qgOnLgd2XK57h188HN22l+p0wmYQuK6KNDmdx4JXeolmjcgaVqMRISvyLwP7 dhZadCQd8PECPStN/Mknjd6Bxg/iB+xckFYTJp6Q/5MiBdfER4LBl1DnYodH/agh0uob sVo+OwxaWcOfbULWb0BhnT5wtwfSbd4lZ0IKUnlNKyc557gU+CtWgUQj+ePfbGkUfnE0 349rAaekw4tSSX+j1FoHMizVGnJEZLVd9cLP8lJSTzP9zaj+v05L8wny+tKUdrcEhp+u BkbS8R31U/aD27Wb1CQes3KV4wEuqryIFY5VLmn8DWgCkgRtPM2en/tEgpsqb+bApvXk 4AXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from; bh=ON+H4nmacUr4cyiEil/PadlFM7I5maC8v2ckPj+6x7I=; fh=oGTeheTGtJi/O2KL90xHksAdkswU33tM/8rayu80xMU=; b=XvEwsZ7eMilemv6L9TbJfkfERq0r47f2lSDKkepTFrmeiTbFAP9r/NjTwqpDqn6Pco MqlYHi0X6OzuK25s+OD2fJUEUM/bnYDvH9sfLtJZSTGxguN1MdGMt+eb+m6bQ5KxOlXx 3aBksOcpyjeAEtcmk8s7hZWpRPQI5TwkNlBeRn+aAUEHDtI3e2vJo7YxhbiMyhkzvU36 LIEws37PkwxE6xXNTOQaFip90OI7vdrkHKg/jE4r978ElS7mF8kC4k3KVItXg0fkureW nYCOW9W7jDMdW+bG/wsNGO8OoSDzo5iPYymD4rhVcSCCYzbBv8BnOL0f/0pY/xaiLkOT 6wXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-67479-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67479-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n123-20020a632781000000b005dc503333ddsi1468539pgn.632.2024.02.15.10.13.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 10:13:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67479-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-67479-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67479-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3FDFF28F00A for ; Thu, 15 Feb 2024 18:13:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C48E913A27D; Thu, 15 Feb 2024 18:12:52 +0000 (UTC) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A5DA713959E; Thu, 15 Feb 2024 18:12:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708020771; cv=none; b=rCyoRbseZtsWuoUHQAulXdLPqvtP8x5dT/acr3Q7ffvU7DLJ8zARrb6aObOBKVOXal4YkWgLEF9UBGhaH2/W+KFFNf3bDN38jVvGbfa5DoEAyx80jGMmr2Xqr6ySf01O1hYmhCSthr4d9F4MoBFeGSSnjI8wbnNJhy8BodoLGEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708020771; c=relaxed/simple; bh=mobHejLyMa9lwd2koRFuFHd/TN2Lj+Tpf18ZnDm+jd0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UXX2UwL9hFkX2eMtAXcAT2KkY/C3lojUP60hq2a3wO+NeuT2HdlkCku/Z0IWPcLhwXhXJiR4UdYS8rwDNJEHknZGzLrnbSArm4uF466ah/sRObmAL0iGTVDVx4hadQElKgogumVxDojn6xZQFWrbmIcS6UE6Z72gJNoWgEXzLuE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id EA1F821F36; Thu, 15 Feb 2024 18:12:47 +0000 (UTC) Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 702C51346A; Thu, 15 Feb 2024 18:12:47 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id hjlKDh9UzmX3VwAAn2gu4w (envelope-from ); Thu, 15 Feb 2024 18:12:47 +0000 From: Marcos Paulo de Souza Date: Thu, 15 Feb 2024 15:12:22 -0300 Subject: [PATCH 3/3] selftests: livepatch: Add initial .gitignore Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240215-lp-selftests-fixes-v1-3-89f4a6f5cddc@suse.com> References: <20240215-lp-selftests-fixes-v1-0-89f4a6f5cddc@suse.com> In-Reply-To: <20240215-lp-selftests-fixes-v1-0-89f4a6f5cddc@suse.com> To: Shuah Khan , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Marcos Paulo de Souza X-Mailer: b4 0.13-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1708020755; l=492; i=mpdesouza@suse.com; s=20231031; h=from:subject:message-id; bh=mobHejLyMa9lwd2koRFuFHd/TN2Lj+Tpf18ZnDm+jd0=; b=yt2S3SLlOz8UjVQ3bvVyhzblQN92xH3EvaRhnrlwLoYKonlhBs++FysaWuRcC+F6VDo/cxdky Edgz/8WeASHCdy3tAVe8/kyfBeluhkGdMx3yDa6TVieBnOG9ovuzvbY X-Developer-Key: i=mpdesouza@suse.com; a=ed25519; pk=/Ni/TsKkr69EOmdZXkp1Q/BlzDonbOBRsfPa18ySIwU= Authentication-Results: smtp-out1.suse.de; none X-Spamd-Result: default: False [-4.00 / 50.00]; REPLY(-4.00)[] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Rspamd-Queue-Id: EA1F821F36 X-Spam-Level: X-Spam-Score: -4.00 X-Spam-Flag: NO X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790989657909203726 X-GMAIL-MSGID: 1790989657909203726 Ignore the binary used to test livepatching a syscall. Signed-off-by: Marcos Paulo de Souza --- tools/testing/selftests/livepatch/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/livepatch/.gitignore b/tools/testing/selftests/livepatch/.gitignore new file mode 100644 index 000000000000..f1e9c2a20e99 --- /dev/null +++ b/tools/testing/selftests/livepatch/.gitignore @@ -0,0 +1 @@ +test_klp-call_getpid