Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp458505rdb; Mon, 22 Jan 2024 09:17:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEc852KWhsmjptSMlrSSyr+UFKmDDgxviNPdFkqfw2e9SbIB1EujwZow7SvaB29jsCMJVpn X-Received: by 2002:a2e:a7d0:0:b0:2cd:690d:5d37 with SMTP id x16-20020a2ea7d0000000b002cd690d5d37mr2359325ljp.29.1705943831487; Mon, 22 Jan 2024 09:17:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705943831; cv=pass; d=google.com; s=arc-20160816; b=pOjAippnfkDUT2RJzZkGhvKBTEfKA/MLBYuai3WPmpHTh8sfmxA+cCx97F7vm6Je+s f0axnQjBu1zNA8me9cNSNeW0U2IAuPhOr+kAHKBoiAUwPD/I8aSCbTlKrh6zSx2XIctk Uu9AfJSCYYBRiKbc3LzHxMh5ZbYL1/CqcIrT2uplJ7BKJdV6RLb23AeGRbLO0eBEvb7U 8/jKI3G+7yODeCkEKks7Sx+2ayp7CVbqUngps/eUyG2jzodGgxl1pKtQNByZvds+gI/A o7+TW9Vu8jBVZCx8mognrPQm3+j6Bv7BrU26X7hMnj9z6zuWL/sEBdtfv5AwAc5oNXjY JYGw== 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=IROhIj7Ox7CwBaXByb7BpukNgF4Tu8rphUj8+6yrQXg=; fh=yK1m1Lwi8HBtY8Fa9u7cd+rkkL1VhRrEB2LEzO+FmEU=; b=MPkkKrBToervGfrBsPEnjMORf0a2V3F42vK+22lENZjLGmG08BqXORnxHv/e+xTpcg XRIor9W/LpraooM9ef2Sy+JvegqZS/GNXMHn9JPkLQIokn0InZkrD/g+Zun9yWa/4AeT oTNkbXzT6wK3qqKAMbLTSyFVF3mXQG04t8LSJGhPjAQqCj24zzroLx0TkPNH557iAbfU 1QQlE4/CS1bZKQhbuwxGwu/KCEEXqNoZv+CffUHQsf2T9dJeNRWXa8R49ZqB7NLmj+SS 8UP9vXnWUkl7ON9nOAvdp5c6KKdXD/B5xG/1v0omaE9IDo8wV0NsqNOL4A/PIaZ04D+K jdHw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CnQF3XQc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33655-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33655-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g9-20020a0564021ec900b0055c46f3919asi966338edg.417.2024.01.22.09.17.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 09:17:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33655-linux.lists.archive=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=@kernel.org header.s=k20201202 header.b=CnQF3XQc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33655-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33655-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 332071F2729C for ; Mon, 22 Jan 2024 17:17:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7542364CFC; Mon, 22 Jan 2024 16:06:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CnQF3XQc" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C7773EA92; Mon, 22 Jan 2024 16:06:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705939577; cv=none; b=Fm8LRaAoksQChD5ZQi5EYflSc2hOcBn1RjPbqHvtAS439jSX851rnaJdj6RFml4Cck75U0nEgav0kmCwRRL8G9FLyp+kqlKByJ6EaF2PA+bYEaZ6nsDD076HSMNMFjWT7ceQrJNA3ecP8QQTrFkVuxVOgm6QMSl7XumBuiFxaLs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705939577; c=relaxed/simple; bh=hY/zyn/406LOd8YtMIcobNKeKbMaMrknpBMXDWrJbh0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=T+l/+so+8Hbzqp3f2gTu9dt0moa+1jQ1UVwkdCeC6Yra1Sea9GU7/YduQ5zPkdiEb8rQ3bds8pbPwduBlCI/9grMg3GBT0a6FuZdVDSU0LRqW1k5VzuGeAUJ1wLEwtYxVqqb3WKAceIhgB5XP32T72HWM5tAJudPtYLpK4EOGBk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CnQF3XQc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC083C433F1; Mon, 22 Jan 2024 16:06:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705939577; bh=hY/zyn/406LOd8YtMIcobNKeKbMaMrknpBMXDWrJbh0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CnQF3XQc/Bia9iXEaxMN5SySXr0yt7xebAkakModjUElWzlzLvkW4cwL1hZRRov8G fvgBgFRypiExZ441hi3u2FCqeem+RtoFAbLWBGSr0JqxmBG79pn9PxRwpcoIjqEECy iy+1PLWEpkpBwqIIUCLjMFs2HJ6BrYLx/7/ZqFzwTkqvB5QwnmwnvmUsww2nMeXcAF wai+cgG50OHA64uK+WIPmAaNcXI6a+C4Aq6x8mK5NTsAoyqfdyBB7vdzRtEDzjnYIB 8z24J29alU4y1X7EloH/Cl7Vmq0vM4kACw+M4bruohHLCIIQhm3LONpjFTiZyC5cPw uH8VQ/ht51T6g== Date: Mon, 22 Jan 2024 10:06:14 -0600 From: Rob Herring To: Laura Nao Cc: Shuah Khan , Frank Rowand , Miguel Ojeda , "Nicolas F . R . A . Prado" , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH] selftests: Move KTAP bash helpers to selftests common folder Message-ID: <20240122160614.GF601827-robh@kernel.org> References: <20240102141528.169947-1-laura.nao@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: <20240102141528.169947-1-laura.nao@collabora.com> On Tue, Jan 02, 2024 at 03:15:28PM +0100, Laura Nao wrote: > Move bash helpers for outputting in KTAP format to the common selftests > folder. This allows kselftests other than the dt one to source the file > and make use of the helper functions. > Define pass, fail and skip codes in the same file too. > > Signed-off-by: Laura Nao > --- > tools/testing/selftests/Makefile | 1 + > tools/testing/selftests/dt/Makefile | 2 +- > tools/testing/selftests/dt/test_unprobed_devices.sh | 6 +----- > tools/testing/selftests/{dt => kselftest}/ktap_helpers.sh | 6 ++++++ > 4 files changed, 9 insertions(+), 6 deletions(-) > rename tools/testing/selftests/{dt => kselftest}/ktap_helpers.sh (94%) Acked-by: Rob Herring