Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp465872lqt; Fri, 19 Apr 2024 00:45:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXv0ADEIz3qQwLs0nYOAuwcPjzk6+wpFTaMD5rOa6NNQurZ1qrM1ASwurNpf1Ll294BoB0eXKdWiPeZsLVOzDscmnTTCY4m6KEUrtbLVA== X-Google-Smtp-Source: AGHT+IHikc+boD/3gio8hdSGAIsuDbEIpqJWHd4naGjU6MJZontLfsfbLrncK6nAnBLA71kn0In9 X-Received: by 2002:a05:6a20:9e4c:b0:1a7:23c0:24e7 with SMTP id mt12-20020a056a209e4c00b001a723c024e7mr1325303pzb.42.1713512711987; Fri, 19 Apr 2024 00:45:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713512711; cv=pass; d=google.com; s=arc-20160816; b=d18XscYQBIiXRTwbgRs1sniuVDeG7Xyi9Jd22ChM0e1Ld7CTW+/z9lwpEBiABoFzo2 6XQdVX4xxFmiluZOhybDMgUcZ5TxtF/apNYKikgyQxxIGc/lmxvE0pZ0e9Ahy0BaJqp6 kcKRu1N4cgkYvfwynaZfn3HvybzbDbtTU2f1Kc9ACZikBdA+A/IlaQR/xVbiIbg81iQJ QPygdnFr//ijur6LMaXd+yKAwGS+ea+mYzYCaA/2dG+GmBKYiRUBnYQUeV5Y4rwhxQGs MzCqgs6ULZNiILlqCtdgNhl0om4xxDmKgNl+zH/suLQe630fh/DS6shzDQIwOctGs3J4 l7pQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=LueqF6+OT2M/kp1Ny7qCK2OyHQdGdekYxHdLSp7y8ac=; fh=3AfVcjUabUGDKihLrzVW4PTHQUv8TlRkXQhWf/sZZfA=; b=XmSRpe4djY6BuF4QhLwbCf3ELQL+mxyu0VyfSnTO//uXi+0g9iC/xP/ARIkp2XPq0D olPpgoJi63I96HFHAG4tILRCFwnyBkhJqP5qisyAIYtdX34SXNTSS6VCLMaacByHMUGL nIb71eaA1HzQWOW1XRuWekcL85l4elLo4t+4WmNIUpGtson4kgPALbtqZ73iVkmjXlD+ 7WhjemaqpHO3WVBGCZOi/y3+zaYgxQHoOv4mO2zMjRP/NK5Ru/ZhcuyweVXOdmKC4Gx+ 5fNx/1N1WlvHpp/fCg+SypLtAQWd1vTWBPNIxcMxnzh34JdmNnkGJ+kTWDB6jXm3mIMQ eC9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-151128-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151128-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a22-20020a17090acb9600b0029de97229e8si4473669pju.189.2024.04.19.00.45.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 00:45:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151128-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-151128-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151128-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 91768284599 for ; Fri, 19 Apr 2024 07:45:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 83CDD58206; Fri, 19 Apr 2024 07:44:10 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B018D5D905; Fri, 19 Apr 2024 07:44:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713512650; cv=none; b=uVFqPrekJqO3cPdQIdPyx3GOb3oUsBRWfBvAxaDIbGL+urqlIu/N+UjdN4KW9qjlaL9b/XN25q2letrJvMVOL2yveSzUM0GpVoZcCC9KP6LOJKHhzg89O3yScQwX66b0dfAJPsub/n8YjOW0+EifZDeArscieJHlsYSfB2zIvkc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713512650; c=relaxed/simple; bh=GxkeVdlYJc475Meij+DAS6LcqQ9+4QD1Uyqpf6xYPOc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=S8hvigTTfA6XLuF69DOEfbGbCErFqouL3lx8/3kmYou2NQm9d16wX62OPXIFZ3eRM4bH52FL1tP4CCvhC/rriV769pxXcfkojtBTl2KZ3YK8Oa3IDMuj7fGEOparhMkwe7G47wthcs458kboX98ujneCvdLQjU6chW/IEkVTBPY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 45F7F2F; Fri, 19 Apr 2024 00:44:36 -0700 (PDT) Received: from e125769.cambridge.arm.com (e125769.cambridge.arm.com [10.1.196.27]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EBD1C3F792; Fri, 19 Apr 2024 00:44:05 -0700 (PDT) From: Ryan Roberts To: Catalin Marinas , Will Deacon , Andrew Morton , Shuah Khan , Joey Gouly , Ard Biesheuvel , Mark Rutland , Anshuman Khandual , David Hildenbrand , Shivansh Vij Cc: Ryan Roberts , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org Subject: [PATCH v1 5/5] selftests/mm: soft-dirty should fail if a testcase fails Date: Fri, 19 Apr 2024 08:43:44 +0100 Message-Id: <20240419074344.2643212-6-ryan.roberts@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240419074344.2643212-1-ryan.roberts@arm.com> References: <20240419074344.2643212-1-ryan.roberts@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Previously soft-dirty was unconditionally exiting with success, even if one of it's testcases failed. Let's fix that so that failure can be reported to automated systems properly. Signed-off-by: Ryan Roberts --- tools/testing/selftests/mm/soft-dirty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/mm/soft-dirty.c b/tools/testing/selftests/mm/soft-dirty.c index 7dbfa53d93a0..bdfa5d085f00 100644 --- a/tools/testing/selftests/mm/soft-dirty.c +++ b/tools/testing/selftests/mm/soft-dirty.c @@ -209,5 +209,5 @@ int main(int argc, char **argv) close(pagemap_fd); - return ksft_exit_pass(); + ksft_finished(); } -- 2.25.1