Received: by 10.223.134.59 with SMTP id 56csp5408489wrv; Sun, 5 Nov 2017 01:23:55 -0800 (PST) X-Google-Smtp-Source: ABhQp+TcgPEe7OFlPw+6XHZ7ARhCm0k/qUKMy4EFTPGDGFlU8/ldoo8c9B6kqz9fCb+6rSBUUfof X-Received: by 10.98.133.152 with SMTP id m24mr13225361pfk.62.1509873834901; Sun, 05 Nov 2017 01:23:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509873834; cv=none; d=google.com; s=arc-20160816; b=YBvZjJYzbReMOcKiqqm5/yU93dFqLLIBzKMsq6ToxtUkxgyStZzFbS7es7yQhB3U1I 7Sl/Jw94sz7l6CZPlqXHuMBPOlgGCcv4ns02pyhyDBaSNk+xDBMOXZKTA/esfI05fsJW NFSPZvnn0rggs8Co705c2U7PjsASQECqcD3PKZg2pScI072u8987iZ/6Lsr/UfovUqVO A+nr5/Eel5duNRI3X92ZFFagZKTbay7pbOP3X08QK1FKF9mcFb8HGot2ru3DQTg248s6 ThhRXgNQyTOf6MpkdgU9oh6PPMr8TSTXLDrajFkgLalrI8I6UOJnn9PH+NPDTn4XKPoE wo1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:to :from:arc-authentication-results; bh=eQhwnTCIZw9K16IA7vH3fF7YYh7ftmp+nJVeRl38VU4=; b=OndIWM5n+LBpejlFlrErZvJQ5WKc09j8Iv8JS5UvmBg92KzeI+sJgIrPNTgiLdOrJI Js7XL42KB3boDiOsDbWBcBr2kYO/rGcqZ/zYXGSd1KGUk8V0E/7wVMNe1331c3TeoVtD VBhiI91zE5Tgh+OXiZkWAbBuIJeZeWL0VMArsHeetuz/AEQ2eN6ZUhl/XaGqOQopxjcP ctHZ2xaPCAyobhhjPKMksOztkGItaD35Eo7dOLHzILdLIeWpUiJjyKiEkKxWHtM3T3M4 QnxoXhI0Y0ovXfSihtsGk4pwFUu1Y4Bqr1G1VSjgnj+w8Ea1FM5xscpzCmCPLe4GRMfY f9nA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a2si6981442plp.519.2017.11.05.01.23.30; Sun, 05 Nov 2017 01:23:54 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751938AbdKEJWa (ORCPT + 96 others); Sun, 5 Nov 2017 04:22:30 -0500 Received: from mail5.windriver.com ([192.103.53.11]:45158 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725AbdKEJW0 (ORCPT ); Sun, 5 Nov 2017 04:22:26 -0500 Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id vA59MOJ1031794 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK); Sun, 5 Nov 2017 01:22:25 -0800 Received: from pek-lyang0-d1.corp.ad.wrs.com (128.224.163.162) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.361.1; Sun, 5 Nov 2017 01:22:24 -0800 From: Lei Yang To: , , , Subject: [PATCH] selftests: add "PASS" status in log for mqueue Date: Sun, 5 Nov 2017 17:22:00 +0800 Message-ID: <1509873720-618-1-git-send-email-Lei.Yang@windriver.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It prints 'FAIL' status when test failed, but not print 'PASS' when test passed. Signed-off-by: Lei Yang --- tools/testing/selftests/mqueue/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests/mqueue/Makefile b/tools/testing/selftests/mqueue/Makefile index 0f5e347..437b048 100644 --- a/tools/testing/selftests/mqueue/Makefile +++ b/tools/testing/selftests/mqueue/Makefile @@ -5,12 +5,12 @@ TEST_GEN_PROGS := mq_open_tests mq_perf_tests include ../lib.mk override define RUN_TESTS - $(OUTPUT)/mq_open_tests /test1 || echo "selftests: mq_open_tests [FAIL]" - $(OUTPUT)//mq_perf_tests || echo "selftests: mq_perf_tests [FAIL]" + $(OUTPUT)/mq_open_tests /test1 && echo "selftests: mq_open_tests [PASS]" || echo "selftests: mq_open_tests [FAIL]" + $(OUTPUT)/mq_perf_tests && echo "selftests: mq_perf_tests [PASS]" || echo "selftests: mq_perf_tests [FAIL]" endef override define EMIT_TESTS - echo "./mq_open_tests /test1 || echo \"selftests: mq_open_tests [FAIL]\"" - echo "./mq_perf_tests || echo \"selftests: mq_perf_tests [FAIL]\"" + echo "./mq_open_tests /test1 && echo \"selftests: mq_open_tests [PASS]\" || echo \"selftests: mq_open_tests [FAIL]\"" + echo "./mq_perf_tests && echo \"selftests: mq_perf_tests [PASS]\" || echo \"selftests: mq_perf_tests [FAIL]\"" endef -- 1.9.1 From 1583483985707715302@xxx Wed Nov 08 08:00:07 +0000 2017 X-GM-THRID: 1583483985707715302 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread