Message ID | 20240209-kselftest-mm-cleanup-v1-1-a3c0386496b5@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3089C48297 for <linux-mm@archiver.kernel.org>; Fri, 9 Feb 2024 14:32:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 45C346B00A1; Fri, 9 Feb 2024 09:32:35 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3E3FC6B00A2; Fri, 9 Feb 2024 09:32:35 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 25E166B00A3; Fri, 9 Feb 2024 09:32:35 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 1A2ED6B00A1 for <linux-mm@kvack.org>; Fri, 9 Feb 2024 09:32:35 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id B9D45A10DC for <linux-mm@kvack.org>; Fri, 9 Feb 2024 14:32:34 +0000 (UTC) X-FDA: 81772506228.05.859FA5D Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf19.hostedemail.com (Postfix) with ESMTP id 12D1B1A0003 for <linux-mm@kvack.org>; Fri, 9 Feb 2024 14:32:31 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=VKE8eD3s; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf19.hostedemail.com: domain of broonie@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=broonie@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1707489152; h=from:from:sender:reply-to:subject:subject: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:dkim-signature; bh=aKzTDahlVj8xRK0vIE1wscgclUuMUEExT5K2RbizY8k=; b=AZuOZ89AKU5L2aQ/YIJxnGUNlMWtkQCXOTe5AOiS3nyYL85deH2oM9vVnoQ/8kY7hkh+e2 q3gxvMa+0fMmuBAB8uNpe+0ra1KMPuX6O5xSUFHs7ozxmW5yWEKlH5Ot3iPi0gkWL2KvBA 8QGutDh/Q2pKOPNKw1v3sTP/o3WmM4U= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=VKE8eD3s; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf19.hostedemail.com: domain of broonie@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=broonie@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1707489152; a=rsa-sha256; cv=none; b=qiGl8cyXgeT9gQ0HvKTO/LU5hqMr1DSQmJ8cjNV2vSWYBDUZWzXQ1rlwJCC8y5DCz+KEhz 1v2asFz+LkNCNLQmajlkXAWsKruKNgXRhOJNB26mVwkr/S3TZoCrODlv7TgZsqEIWoO1nr XlE4qdzlsQhotFY+00B8hmzIQitOWHc= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 16B1B61D0E; Fri, 9 Feb 2024 14:32:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CD0BC43390; Fri, 9 Feb 2024 14:32:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707489150; bh=SNdpuBCpO0JSkOWXvK3leOkPlkJ8pkETSJ0EjQBtI1E=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=VKE8eD3sZWW5fEQtWPkCRBNkQo3ehVIXsOA9fELaVSi3m9F+Vd0l32uyrCJX7/rkP Mod0j110Xyn45qDVbqHYvHZZ+2Q13WAbCjHuubA1INaigCrg+lNEzxm59Q174XvRqn Ot1IkZcWh1jHJaH2i2jaWhn3wi3Lrt6+C313F11LHm6Bz+O0jST3KdcV05uivd6LZ1 vGg0REiPgMH/tigU2ahFd/9XG8Ib4pMGtMVPIrPr++s09K4zvF7dh5wpayHnFPXLn5 AurgQWPdsp73phvU2MRxKY4oZ5a2eZvmV4T3/QkYw/LVwCyeb/O/eH/Id+gfxOmL3Y 3mubJ3UyNBKUg== From: Mark Brown <broonie@kernel.org> Date: Fri, 09 Feb 2024 14:30:03 +0000 Subject: [PATCH 1/2] selftests/mm: Log skipped compaction test as a skip MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240209-kselftest-mm-cleanup-v1-1-a3c0386496b5@kernel.org> References: <20240209-kselftest-mm-cleanup-v1-0-a3c0386496b5@kernel.org> In-Reply-To: <20240209-kselftest-mm-cleanup-v1-0-a3c0386496b5@kernel.org> To: Andrew Morton <akpm@linux-foundation.org>, Shuah Khan <shuah@kernel.org> Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>, Ryan Roberts <Ryan.Roberts@arm.com>, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org> X-Mailer: b4 0.13-dev-0438c X-Developer-Signature: v=1; a=openpgp-sha256; l=940; i=broonie@kernel.org; h=from:subject:message-id; bh=SNdpuBCpO0JSkOWXvK3leOkPlkJ8pkETSJ0EjQBtI1E=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBlxjd2aWt1MZeqGP+Sjwd45kcKirLj+wtx0YjNP /5BRSewS8+JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZcY3dgAKCRAk1otyXVSH 0Lr4B/4mqYsi2Lo6QA241MmfSg0cwBXmgg2LOHFVMA62X1zAB/NMIQYNAhSVIFZTrGaZg1+/KX5 u7pVXzG8Y5C2XmrXHeMCoeuUAkWeaVV+tojvjmG4WUTO+cWJuqPJi7K4V5HP+p7i8YcPyqp1sUB rWkO4mJC6DQ9QVk6Oho2B1IGG9BBEYNwxEJqsUzB4/6VAenIJj/unbUI/thLu8zUFCTFQqRMjjB zXDCW0PlErz9/y7xG/p3G3CNYRekFr+mMLtYNfIposkiQ8NtFiUeE2HCaOXMYwyrhDM0AcAwjGo w2LwNXEUk4eEeARHxe3VeOud4S6J5gVREjwhJdtSPy93sbMl X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-Rspamd-Queue-Id: 12D1B1A0003 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: bw5cgfymgcisx54tcfc5yhgfa96gre47 X-HE-Tag: 1707489151-515722 X-HE-Meta: U2FsdGVkX19e6xKHFDIhkKEdj8Tfh7ThuS1j/QzlnQ/CfL5KDvGPvu7YLLzZdH4BHRrD3zxPYFpkt/ONcMy4lW4oyQG1xA0Xff0aNZnlRsDhClKfk0kvOPg5JUnEhaH9V2vnd3Py2FvHHCgoQrKf4t+b/Rz0S6dNtVtbUjipUxehWhCrKJU8gPEhs/FaMV2SlNXLDy1ugKBHIot6/jd0zoH1CsMKLS2kn6slps2A++tPWgMh1OK/edNOPCIES2deWhXmEyWjQFjQSwUxoD3TufKJKrg4yvjXBlruCdUJ6hcLeccW/LYHuoTCmnIN2AzKOG+NcUX1B1rLLLe/5YKzXaJh3WZXdDgggC8kiljtxESNfQFqgFdu/WucmCn4VGKPVx9Wl+oU5aZ8kLSmsxgufTEm0heRpk7yChV2Eq0q56ndp1MLmxXGNka+I+vcSdTcaPfz+otxuKLhvl9ZrBAdAtbETEvZ/ZKJnkcV/wTVlNuBjaXxwpw7U1JhBUrDBuRezfycmItL+t7INlCP+fe/GWD4CXZCHBk/6vbX3onVQjVHGt7XfBMS42Y3m/upUiNIieGJRzngdEkX2jhBrUxzIWUQUHPpWyAxxGKJZSAs0pJdDDBx61tZvFMGy58f9jr0ts6zo39FO+zz2xYkbNpkZyTOp0bRt0Ajb8uzbPdo5oWsHN8ECPxY4LIqxheSjV4GSUcgxyiTUJLDu+DNuLkiZO+xLAOpnmyEgI6Z2qIGP0hnIUOKgdvn4ioaFqXf+VD4Ua9FjCPkNKWl7YiKglBh5PqYzuiJTtmmFtYWoHuHCOmPhxa0cgMux3XNUVJU1uMamhNzSZ7RP4dkm1n9uURBh9A/kqBcBZXZsINKAhbx2uaqm43dJrdXEoAYDuHfjaTiIKYvb7e5zlI= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
selftests/mm: Output cleanups for the compaction test
|
expand
|
diff --git a/tools/testing/selftests/mm/compaction_test.c b/tools/testing/selftests/mm/compaction_test.c index 656afba02dbc..30150929c8c5 100644 --- a/tools/testing/selftests/mm/compaction_test.c +++ b/tools/testing/selftests/mm/compaction_test.c @@ -174,7 +174,7 @@ int main(int argc, char **argv) ksft_print_header(); if (prereq() || geteuid()) - return ksft_exit_pass(); + return ksft_exit_skip("Prerequisites unsatisfied\n"); ksft_set_plan(1);
When the compaction test is run it checks to make sure that prerequistives the test requires are available and skips the tests if not. When this happens we log the test as a pass rather than a skip, log as a skip so that the distinction is clear and automation can see unexpected skips. Signed-off-by: Mark Brown <broonie@kernel.org> --- tools/testing/selftests/mm/compaction_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)