Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp318397pxa; Tue, 4 Aug 2020 06:29:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznjheNMsgJU6KuunbThWhuSI25JDb2ArUrLhFsAw1arVG2SJYTy3EsA3AXECupC20Be7ba X-Received: by 2002:aa7:d8d7:: with SMTP id k23mr21178606eds.54.1596547765430; Tue, 04 Aug 2020 06:29:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596547765; cv=none; d=google.com; s=arc-20160816; b=DD7Fq9LuD7VGvPvGMnCNll5uLzg7h7eEvt/Dl3pRB3/PuBx7IDLxrxfgcChp/WCx1E PfOjsQqlhtRB6UImFcyOAy6w2R/TdyHA1H3wvtyPhgIqVjF+pNy3G/K33Eo8LlwxE5pw Ujmr5GxGoJ5pdctYKwM4Iw2kzxxLWtqEOcGJ9QufmZjMFNGxSbGq4MqyQEofYEyyoxXe iP6owJ9gicnuw0yC/Q/ePyvlywgObdtP5TRaZHrAji5cc6i/BKldYkAOfiusEbAxRNep CO8DIYdJMo1vZHwI6GVi2scORijyjDOMIxBkwaNiHSUMGQhxrMKF82MwTSZaNGnJ/C6a 2Wlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ey6gOzQW7qkYrkGPNCRXw13EnycFk1/ExnTO9ySv+ao=; b=gkH0gXfaBma0k2waaSbcv60Hddb25StYnhSmFvJNFBdqrVafsTZaCt887x9zDtMlPo 0xQis4kyqRyxZ5RQ3zR5fDQv+FrxDmdq0hoA8QKUIG9m5Lj0RRsaQtd3T4LcJ8rZnr+K 0xPWlBWhiu30NSUL/aVfijPIUjMPOVD05L5bF7BBDQnlDGqWtZXtmhRV4c7FQfJmatDG W9SDM1U7wZ6Z4MjkhmCxQKETD1SDBN6cIWXGEO2toLuorJATEF17VRR5dkwZ9ucaMzBQ JiNeQWB0iijku987yrRuZVbO4GOxx0rLU5lX1fFAsCRaZcBJbmfGLw4WL/so3dqwNnMC Hi5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=kdP9moyv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd8si2025654edb.477.2020.08.04.06.29.02; Tue, 04 Aug 2020 06:29:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=kdP9moyv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728649AbgHDNZn (ORCPT + 99 others); Tue, 4 Aug 2020 09:25:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728419AbgHDNZ1 (ORCPT ); Tue, 4 Aug 2020 09:25:27 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D026C06174A; Tue, 4 Aug 2020 06:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ey6gOzQW7qkYrkGPNCRXw13EnycFk1/ExnTO9ySv+ao=; b=kdP9moyvhKotGxsGs3ud6CrK+C F68D1NJpJD69Xd4nD50xvXZSv9JbdEfKoM36v3Yxr8CYIdoliwHD2LUNXC0+Vaj/DoZV+DNp4R7hT pBkJ6IWSHjUERcNNKspiTvwg819ydcytVWnJFstoJ2COGk/hdxxa7/++qWDDvhzVn5goAuB9jaGxz MkZP3ZNmLUv4vgfuIK+q8qGylerjGw8ApEVM7Uc94yrHVH9fRQpa5U3RoVXMlbN//m1m737Y6xJaK 6TWeKYTjacuU4uCc6fslXcEMhyauTVUJe+3gIOlPkcKeggVGcLJkoXI9JyF+QZJm1AcA7LHqIZfw0 gE9RqyEw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2wwQ-0006if-TC; Tue, 04 Aug 2020 13:25:19 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 4BC18304E03; Tue, 4 Aug 2020 15:25:17 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 2DC352B622ED0; Tue, 4 Aug 2020 15:25:17 +0200 (CEST) Date: Tue, 4 Aug 2020 15:25:17 +0200 From: peterz@infradead.org To: Vitor Massaru Iha Cc: KUnit Development , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List , Brendan Higgins , Shuah Khan , linux-kernel-mentees@lists.linuxfoundation.org, irogers@google.com, mingo@kernel.org Subject: Re: [PATCH] lib: kunit: add test_min_heap test conversion to KUnit Message-ID: <20200804132517.GK2657@hirez.programming.kicks-ass.net> References: <20200729201146.537433-1-vitor@massaru.org> <20200729203908.GD2655@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 29, 2020 at 06:57:17PM -0300, Vitor Massaru Iha wrote: > The results can be seen this way: > > This is an excerpt from the test.log with the result in TAP format: > [snip] > ok 5 - example > # Subtest: min-heap > 1..6 > ok 1 - test_heapify_all_true > ok 2 - test_heapify_all_false > ok 3 - test_heap_push_true > ok 4 - test_heap_push_false > ok 5 - test_heap_pop_push_true > ok 6 - test_heap_pop_push_false > [snip] > > And this from kunit-tool: > [snip] > [18:43:32] ============================================================ > [18:43:32] ======== [PASSED] min-heap ======== > [18:43:32] [PASSED] test_heapify_all_true > [18:43:32] [PASSED] test_heapify_all_false > [18:43:32] [PASSED] test_heap_push_true > [18:43:32] [PASSED] test_heap_push_false > [18:43:32] [PASSED] test_heap_pop_push_true > [18:43:32] [PASSED] test_heap_pop_push_false > [18:43:32] ============================================================ > [18:43:32] Testing complete. 20 tests run. 0 failed. 0 crashed. > [18:43:32] Elapsed time: 9.758s total, 0.001s configuring, 6.012s > building, 0.000s running > [snip] I don't care or care to use either; what does dmesg do? It used to be that just building the self-tests was sufficient and any error would show in dmesg when you boot the machine. But if I now have to use some damn tool, this is a regression.