Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp443807lqt; Thu, 18 Apr 2024 23:46:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1T2U6YB59Wde7MVI+DIuO6yhgf0Uxv0neLmIhWyWGl8551/Ym+kmfZAd8NZ9sWKIElpVGaP1O5ig0NmpNyxe/Fpfc5NGNIjA4m09Nlw== X-Google-Smtp-Source: AGHT+IEXjqvo0NyLiQHYCdfAh62yxyu1hIpP8wF1umPPgK1l1HioEvHNEL40h0LfpGrjJv7XjMRC X-Received: by 2002:a05:6870:4725:b0:22d:f859:2225 with SMTP id b37-20020a056870472500b0022df8592225mr1743242oaq.6.1713509195338; Thu, 18 Apr 2024 23:46:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713509195; cv=pass; d=google.com; s=arc-20160816; b=Z0C82OGamyT/AEglPQHVWY+vk2lwj4MMtyYfkeg59abMsYfaRWS0J5uoHhw0BcAB+U eePVwBgRYwUPTWT6cdLCEuO8ZorV1LV1HTuMpDTzCB9KLBkPug5mU61k0lk4tajl16Ei CP0lSLz6Kvi98HA0y4HBpC5Vt5qll/nQMLx4NQ5OzyRK1vHruEENbG+4QOA0Gbbhdhd5 XHhxlGIIGCwGKYnuOEhMV6NgrLVi5APt9sQv47PNu9L0l/daWho3xq7P8/4zOtrqUsAo xp+/lQe9YT/l5enAByIgUcm2+LcJStFq3Lr143kzcE7Xu5JVYBgQf1QIuIJdy+9b7m+F Zsqw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=likPAjK9PgGVk5+qxCMBfysBI+F/PO0e/FyQV2RaWbo=; fh=0QxBSIWCndiKr2xqBQzJmx9yHlmF/6rtYr28bflfI/k=; b=KZ1DFHdt9vASSidIHx7rJbKoW3shMQM6LNAFNSu7OsvG4dotI4X0lAUSn+mb/1jpKS 6EZ0CXUznnuvobLtOIv1IL3wpo5jZ4VPdeQD5GZLtD1esz4ugfOPFnQHegLJdsi+M3dM xoWZ0IaiGphXRRZLiY4X3kBYJLP7DEQfZP+P1epF31E5IINQQa7G3VLdYHzBj0+ZAf3e AODxz2fYGKddZtX+wtof9a6vxblIL0Q7bZWxXnVqrqSbe8h2UGFQ0rTm1O9A91NTb7ic ie+SjYdhxH+ceaaXMGAb+zEbrBVdOvQJB5ACmx0UvVB+IR828ofLQkBI0lDr0+7V5y+A KCPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="W/owIBop"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-151068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151068-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p7-20020a63ab07000000b005f76fa40b66si2675011pgf.536.2024.04.18.23.46.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 23:46:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151068-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; dkim=pass header.i=@linaro.org header.s=google header.b="W/owIBop"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-151068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151068-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 F3233284579 for ; Fri, 19 Apr 2024 06:46:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4355B3A1CF; Fri, 19 Apr 2024 06:46:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="W/owIBop" Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (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 29F65DDCD for ; Fri, 19 Apr 2024 06:46:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713509187; cv=none; b=uNC9TvQEGatp1qlqRIaNAgUVU6O2WOMmz1OEFUTAl8O0EQ/btxkW6ZT4hzqSTWhNGW93L40GAeiCnEEd4q5CLPdWcWc7w9EBAwi+k+zwPEJZFIZHp/E4RmrCfYTt5B0oVFylXL1OXnkhMV//vuZpUlFr0pv5hDVY8CoFuMi45FI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713509187; c=relaxed/simple; bh=u0HF41IZwgeTJDQsNauxGr+WavqSpst5cZbgaiLVR9A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R8BsLSmvQoLK5Cw0xCGSUCauNpFyH1QUXtMOUrSJA+7BxRCKV+id/B8MmiMoyLMKwmhVXLPTPkFrxwC5ogkSc0GbKaFbKwmB+3hcNxW6UqliHCJRkK0rQr7Bsda++wvcU37jnnbrs68XR1awXJSGFWQR2HwB6cIu9JdjhpRFmSo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=W/owIBop; arc=none smtp.client-ip=209.85.210.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6ece8991654so1554804b3a.3 for ; Thu, 18 Apr 2024 23:46:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713509184; x=1714113984; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=likPAjK9PgGVk5+qxCMBfysBI+F/PO0e/FyQV2RaWbo=; b=W/owIBopzOD7dPCYJ2XOmjBD+ELNGChEk1AqkXfin1HLtKqfC9Ro/ZUoMfdXCX641z N5qEgS77nHwatWXeSznhLBAayJa1oFLHEdmQcbM47Le2Pj9jGun9voRXQdxgATb41XCZ C8TMcsf065eZSJfUnVDgH9tfKWim8b84uKJNfi/IjpcJJyjUWIKof5KtcA6E4WKI3Wj4 7QO649qpB260BNFADZdchzMGoMtTwMj80tLpIV0lQ3bL7UZQSkoporjWDEP3FIwsBQKQ 4s21A7NzVh32IltPh3eCde9z5ECph6UrD16Np+cIOaHtYbUW+UXWI0jH4uVf3j+65hSJ XQNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713509184; x=1714113984; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=likPAjK9PgGVk5+qxCMBfysBI+F/PO0e/FyQV2RaWbo=; b=HU50MNB6xH4L0WmAsmIFEoJn8h4YjBvRKUEKdTIjzkPgMbLB1T+iTk8irUAZMibHCn s+VPH1AFk/fDohPQ6g5AVFvU6CUoCCEPep7XFZ9giEEazUCgUhKTFSDP8nVw6KCpjU9s ufVPZ7HbBOwjtrVRx44wDp5mrUFaTp0fD3A7pQsep7vGC5E7slBTn+9/PCfgijbAb+9z VZQPQlybIuPPkZqUWuID5RWPhAZjqrfgbA71pQwWzUQ2kMYPvat285m3XibDPX7TEX67 aPagMKbfnqK2p1+EyeodejCH2HIP0rQXaugryYzOA0CZ30rLZs4ejbMgZrE2ayuCCHud brIw== X-Forwarded-Encrypted: i=1; AJvYcCW65qnVXjoftPuijkaXK4G62Z8q+kUYUX/ft0Po/RxXTwXsrMX9vxWeHAvybWLQJLnc5lfcoWj1I6aXiRPKlf+fNuVLhRm3lrYUEse+ X-Gm-Message-State: AOJu0YydVY3eum2TYsOAs2ZV9BNIrIij7ezXCzum1+XanRv3Bx1fPeFL rfMLspQqxt66F5corSSsw+RRiRirDPaAyuuPWvtuSi6DlKt0oX3tj2UTO/0C47U= X-Received: by 2002:a05:6a20:5653:b0:1a7:bc31:933b with SMTP id is19-20020a056a20565300b001a7bc31933bmr1492291pzc.47.1713509184494; Thu, 18 Apr 2024 23:46:24 -0700 (PDT) Received: from localhost ([122.172.87.52]) by smtp.gmail.com with ESMTPSA id k124-20020a633d82000000b005f7d61ec8afsm905236pga.91.2024.04.18.23.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 23:46:23 -0700 (PDT) Date: Fri, 19 Apr 2024 12:16:21 +0530 From: Viresh Kumar To: Muhammad Usama Anjum Cc: "Rafael J. Wysocki" , Shuah Khan , kernel@collabora.com, linux-pm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] selftests: cpufreq: conform test to TAP Message-ID: <20240419064621.a4qcqt6ck26te6up@vireshk-i7> References: <20240418153146.2095230-1-usama.anjum@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240418153146.2095230-1-usama.anjum@collabora.com> On 18-04-24, 20:31, Muhammad Usama Anjum wrote: > This test outputs lots of information. Let's conform the core part of > the test to TAP and leave the information printing messages for now. > Include ktap_helpers.sh to print conformed logs. Use KSFT_* macros to > return the correct exit code for the kselftest framework and CIs to > understand the exit status. > > Signed-off-by: Muhammad Usama Anjum > --- > tools/testing/selftests/cpufreq/cpufreq.sh | 3 +- > tools/testing/selftests/cpufreq/main.sh | 47 +++++++++++++--------- > tools/testing/selftests/cpufreq/module.sh | 6 +-- > 3 files changed, 31 insertions(+), 25 deletions(-) Acked-by: Viresh Kumar -- viresh