Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp790032imm; Wed, 17 Oct 2018 08:21:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV60hSesOruHE58ocbaMEBHPQgH+6jU/ONc5/MWMyG1zeVa1pFXxkKBlm3iQAiQPXwErmu59j X-Received: by 2002:a17:902:2909:: with SMTP id g9-v6mr21424379plb.223.1539789671279; Wed, 17 Oct 2018 08:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539789671; cv=none; d=google.com; s=arc-20160816; b=tL5z5pq3Yys5GRxRkxhW8Wen/258Xap6KmlW1QydnxE4I0bqLAYYsoRD8Yau2K9ge4 FNjnRg0hqugZ/nJulbowGWQUO3SIgzqBB/sfBKaOriVa8k5j0DbVryOatJYe+Bj/UKDa jfZaR6YQ6b9FotxIRYnUSlnquZ8VAMCk6u3phgjICPyWbYW+FLfiq/IUrim2MRLOHfZD OBtlS08bGkXVYnOAdJPc6vvvSAighjrBIH5hmCJPYrEI8kkmLO6EqnrX9MCkZIHsGqBZ McQtSbErTXZoOHpMCR0/8fjOvvnhT9ISiXOTMBor0s2P06JZjyfAi1Ocs9lwOne0eH1/ tdRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=KWDZhS7uA29cmLfW2YSDsKTagLeCYvm0eCO3Tc90r/I=; b=R639ZVETMPJmQIXQBQwsyTjwnPySCd028R7hs7boMQvl0WIEfqnGgbGGTEamVPof4p hJ+mUcvQHu1/phm5CADJ7hbSo/89j+2Mst1MiioWtqp6DhN4/sf6aPaGptKuJcTbp6KQ pVyoVHHk3qSrJ/q6kiw+BeAAa195+EsQe1vXjiN9f7/sm4cAELvC2ik7z0JfEj+zCRPd sgvQsAvQxeBg+stwl3y/ey3BBxMpZgMCTtI7VoUnl8v9dZcFT1hLYJr3YcbLs7VLj2nI ZdLfkL0JX5NgPensGLsEDXTDu/1KavyZYsDh4UiZ+fYZeF2v2L1xYT2pcdHa377ygzMw Vv/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v38-v6si18172588pgl.539.2018.10.17.08.20.55; Wed, 17 Oct 2018 08:21:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727854AbeJQXP7 (ORCPT + 99 others); Wed, 17 Oct 2018 19:15:59 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:39850 "EHLO mailout.easymail.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbeJQXP6 (ORCPT ); Wed, 17 Oct 2018 19:15:58 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 40BA120CFC; Wed, 17 Oct 2018 15:19:48 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo02-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pt0lZvP8rpsX; Wed, 17 Oct 2018 15:19:48 +0000 (UTC) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id CDF7120CEE; Wed, 17 Oct 2018 15:19:40 +0000 (UTC) Subject: Re: [PATCH] selftests/ftrace: Use colored output when available To: Steven Rostedt Cc: =?UTF-8?Q?Daniel_D=c3=adaz?= , linux-kselftest@vger.kernel.org, Ingo Molnar , open list , Shuah Khan References: <20181016170220.31156-1-daniel.diaz@linaro.org> <037e072a-5695-1343-35d1-37b9450581d4@kernel.org> <20181016143404.6847beb4@gandalf.local.home> From: Shuah Khan Message-ID: Date: Wed, 17 Oct 2018 09:19:39 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181016143404.6847beb4@gandalf.local.home> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/16/2018 12:34 PM, Steven Rostedt wrote: > On Tue, 16 Oct 2018 11:43:29 -0600 > Shuah Khan wrote: > >> On 10/16/2018 11:02 AM, Daniel Díaz wrote: >>> If test is being directly executed (with stdout opened on the >>> terminal) and the terminal capabilities indicate enough >>> colors, then use the existing scheme of green, red, and blue >>> to show when tests pass, fail or end in a different way. >>> >>> When running the tests redirecting the stdout, for instance, >>> to a file, then colors are not shown, thus producing a more >>> readable output. >>> >>> Signed-off-by: Daniel Díaz >>> --- >> >> Hi Daniel, >> >> Thanks for the patch. Steve is working on adding this functionality. Please >> see the latest linux-kselftest next for the patch. >> >> Steve just sent an update to the patch to fix an issue. Please test and see >> if that solves the problem you are trying address with this patch. >> > > Hi Shuah, > > I think this patch actually addresses the issue of my last patch, and I > haven't sent another one. > > I'm waiting to hear from Masami if it fixes the issues he saw. > > -- Steve > Steve, Do you want me to apply this patch from Daniel or do you plan to send one. If you want to me take this one, just Ack it. thanks, -- Shuah