Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1232814imm; Wed, 17 Oct 2018 16:03:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV61kCaVLNLWFr1p+SDk/aGWIfSl9kZbyGaDjBf8stg9faBqMb3x2op4/SZwiDlR7OO1lqNd+ X-Received: by 2002:a17:902:9b89:: with SMTP id y9-v6mr27675577plp.239.1539817399769; Wed, 17 Oct 2018 16:03:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539817399; cv=none; d=google.com; s=arc-20160816; b=u8Mm0jqV1JH/8mBDgLxI86WcU8NInfImntTdMLMGXqTziFDQkQUynqAL4XOSAiJaNS r7BddfnGrwVhNecyvD2wuSqsISp1OZS9mgnFHu6ScmwyTm7gsTw2LXoPNg40/sBEXw8b Bh0HjrO8c5D9Z7rxD25sRg7il7AIMox1Oaih/r96H2YNcqlQXs/JYLNpSCHjPoM6aqkz FZ+awfH432toiPSr7cXBWRXym9y2OesFssnc/8Mw4WD2eVsNI0HFOyJq07KerI52YBxY ATrDDrMDzaAyiBiZRxNorWovPV9IxRm8XiecBNcbnsnt1mVoerFyo49XWDwMyS3T6s7q HhrQ== 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=eIrDx9PdL87b9+Sc6oOd+ru8YXhKioCAChRnO654fdg=; b=riMdgzjjx1vW8LQdVuAD6CUoj6qyUm7vxCv6TTJU9Y6jy2KFkMko8BREB+eWIMsFFS CvaSkYnaggGFagWYgJRDtCQDbVIx5uko9yI4nYeplI2eAbGg9F0CqMLIWlfUCdKeZEEV 9BSrZpkZsy6SNKFXemCWUVPI4wJaFXEGGVfa8RcFk5tibpeXO94WYVhy6Xbwsy4FXRpu eLKQ0MC4Wau1YK4TLXZPqUw80MmaF1p6YBrlPFcmalDglXQ8Yjl+xvl3QOAvNYICQm8s 4upzumy6cLOMjX/qhYS76gd0cS47vRq75TmA4o7QqVBwZP7X5NhhyPEXAvwNhNvVuwGh gOOQ== 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 x10-v6si18016114plv.413.2018.10.17.16.03.02; Wed, 17 Oct 2018 16:03:19 -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 S1727632AbeJRG7x (ORCPT + 99 others); Thu, 18 Oct 2018 02:59:53 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:37131 "EHLO mailout.easymail.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727101AbeJRG7x (ORCPT ); Thu, 18 Oct 2018 02:59:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 1686BC0B17; Wed, 17 Oct 2018 23:01:58 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BEi1UgVhc6cb; Wed, 17 Oct 2018 23:01:58 +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 6B3CAC08DD; Wed, 17 Oct 2018 23:01:46 +0000 (UTC) Subject: Re: [PATCH] selftests/ftrace: Use colored output when available To: Steven Rostedt , =?UTF-8?Q?Daniel_D=c3=adaz?= Cc: linux-kselftest@vger.kernel.org, Ingo Molnar , open list , Masami Hiramatsu , Shuah Khan References: <20181016170220.31156-1-daniel.diaz@linaro.org> <20181017164103.4fb8692f@gandalf.local.home> From: Shuah Khan Message-ID: Date: Wed, 17 Oct 2018 17:01:46 -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: <20181017164103.4fb8692f@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/17/2018 02:41 PM, Steven Rostedt wrote: > On Tue, 16 Oct 2018 12:02:20 -0500 > 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 > > Acked-by: Steven Rostedt (VMware) > > Shuah, can you pull this into your tree? > Applied to linux-ksefltest next for 4.20-rc1 thanks, -- Shuah