Received: by 10.223.164.221 with SMTP id h29csp2311011wrb; Thu, 2 Nov 2017 08:58:58 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TR7+soj3G1+/OWM+nZ2kyDt/ucHP3ahig15yVj0QP6u1XvochkARM0nA59ayPwabjtju5i X-Received: by 10.99.109.79 with SMTP id i76mr4161234pgc.134.1509638338421; Thu, 02 Nov 2017 08:58:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509638338; cv=none; d=google.com; s=arc-20160816; b=yb/vDbb5JkOMVhDUuSHRVkzgNIdt2/KqLJI3MN3K138/EhL8/583h7zdJHuOYZO1Sk AxJ9ewY5sthK6Ic5IpvWX9jrGFEGZkEQgSdBJ/SBXBRDgbAg8h/hz1t1C9WFqmYgP7t6 sWd325/dChPGSHrNP888vzE4UAsbtXvp/nSEE08dHNYDqAF0RjCFCnPuevJuIsRGda8Y oQoIVLEmyvXSoTI7UItCcLEUucvBz7fwgRF+RlSLSFZWxia5cIaq74OaMJ9w/km6s24f vu7GLZC43R4KdAt6IMXIRMTrEO0+xQ2niQbw8YtSLYQdbtTk6JAs6+xxMwuPgN7wH6XS FNvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:mime-version:user-agent :date:message-id:subject:from:cc:to:arc-authentication-results; bh=mlZkFpsmTp8SmYjemS7Tfv+/ydebi5T4o5qoAqaVr9c=; b=HQK7xSTW9QlzuGvO8dEG691YL+Oo6JMUMN4/PFrxMek+Df44Y92fUaG6ZWPOopVemV zWPLFhwwHJHQhENM2x7NzWXo6cO8MOzWpQzt+/aQqKCWstTIxf6+TXX6kVOfrt5eLFLT K3wEGed9UQFMP/NBosUAiAkSWelldBrV3LbDVcPs9kJWYrksrtPYbhTOFMjy+05B8X2Q jtONaM7tC+piUu1G8sLUAqps1eftYIrtTlxdmEvN4F9ULNykuwTzg+dE3YT9OyFMVtcm G1arkjkVG3JalYoVlKwC/4rtt+MjI8WgTRHQbjcnGApVXYpxPaFwFunt62sKNgrCgzqq KAIA== 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h6si1856386pll.197.2017.11.02.08.58.44; Thu, 02 Nov 2017 08:58:58 -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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934018AbdKBP5k (ORCPT + 97 others); Thu, 2 Nov 2017 11:57:40 -0400 Received: from osg.samsung.com ([64.30.133.232]:56408 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932244AbdKBP5g (ORCPT ); Thu, 2 Nov 2017 11:57:36 -0400 Received: from localhost (localhost [127.0.0.1]) by osg.samsung.com (Postfix) with ESMTP id D4BA715F83; Thu, 2 Nov 2017 08:57:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at dev.s-opensource.com Received: from osg.samsung.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u1TpARh3B-Et; Thu, 2 Nov 2017 08:57:29 -0700 (PDT) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) by osg.samsung.com (Postfix) with ESMTPSA id 8CB3B15F75; Thu, 2 Nov 2017 08:57:29 -0700 (PDT) To: torvalds@linux-foundation.org Cc: LKML , "linux-kselftest@vger.kernel.org" , Shuah Khan , Shuah Khan , Arnd Bergmann From: Shuah Khan Subject: [GIT PULL] kselftest fix for 4.14-rc7 Message-ID: <7b99b0ca-bf38-24f1-3620-174f7961d3e3@osg.samsung.com> Date: Thu, 2 Nov 2017 09:57:28 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------BF691BE6D5BD6B29823F88F7" Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------BF691BE6D5BD6B29823F88F7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Linus, Please pull this fix in for 4.14-rc7. This update consists of a single fix to a regression to printing individual test results to the console. An earlier commit changed it to printing just the summary of results, which will negatively impact users that rely on console log to look at the individual test failures. This fix makes it optional to print summary and by default results get printed to the console. Diff is attached. This came up during the kselftest talk at the Kernel Summit. This fix addresses the issue. thanks, -- Shuah ----------------------------------------------------------------------------------- The following changes since commit ea344f6a507f8ce92bf1e10f044c6cfc67e4d22b: selftests: mqueue: fix regression in silencing output from RUN_TESTS (2017-10-05 11:34:43 -0600) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-4.14-rc7 for you to fetch changes up to a323335e62cc161abb818f259eea0e1e72eb5c27: selftests: lib.mk: print individual test results to console by default (2017-10-31 13:24:00 -0600) ---------------------------------------------------------------- linux-kselftest-4.14-rc7 This update consists of a single fix to a regression to printing individual test results to the console. An earlier commit changed it to printing just the summary of results, which will negatively impact users that rely on console log to look at the individual test failures. This fix makes it optional to print summary and by default results get printed to the console. ---------------------------------------------------------------- Shuah Khan (1): selftests: lib.mk: print individual test results to console by default tools/testing/selftests/lib.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ----------------------------------------------------------------------------------- -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com --------------BF691BE6D5BD6B29823F88F7 Content-Type: text/x-patch; name="linux-kselftest-4.14-rc7.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="linux-kselftest-4.14-rc7.diff" diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib= =2Emk index f65886af7c0c..5bef05d6ba39 100644 --- a/tools/testing/selftests/lib.mk +++ b/tools/testing/selftests/lib.mk @@ -31,7 +31,11 @@ define RUN_TESTS echo "selftests: Warning: file $$BASENAME_TEST is not executable, cor= rect this.";\ echo "not ok 1..$$test_num selftests: $$BASENAME_TEST [FAIL]"; \ else \ - cd `dirname $$TEST` > /dev/null; (./$$BASENAME_TEST > /tmp/$$BASENAME= _TEST 2>&1 && echo "ok 1..$$test_num selftests: $$BASENAME_TEST [PASS]") = || echo "not ok 1..$$test_num selftests: $$BASENAME_TEST [FAIL]"; cd - >= /dev/null;\ + if [ "X$(summary)" !=3D "X" ]; then \ + cd `dirname $$TEST` > /dev/null; (./$$BASENAME_TEST > /tmp/$$BASENAM= E_TEST 2>&1 && echo "ok 1..$$test_num selftests: $$BASENAME_TEST [PASS]")= || echo "not ok 1..$$test_num selftests: $$BASENAME_TEST [FAIL]"; cd - = > /dev/null;\ + else \ + cd `dirname $$TEST` > /dev/null; (./$$BASENAME_TEST && echo "ok 1..$= $test_num selftests: $$BASENAME_TEST [PASS]") || echo "not ok 1..$$test_n= um selftests: $$BASENAME_TEST [FAIL]"; cd - > /dev/null;\ + fi; \ fi; \ done; endef --------------BF691BE6D5BD6B29823F88F7-- From 1583310796517588390@xxx Mon Nov 06 10:07:21 +0000 2017 X-GM-THRID: 1583310796517588390 X-Gmail-Labels: Inbox,Category Promotions,HistoricalUnread