From patchwork Thu Feb 10 20:02:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 12742405 X-Patchwork-Delegate: brendanhiggins@google.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1333C433F5 for ; Thu, 10 Feb 2022 20:02:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244274AbiBJUCX (ORCPT ); Thu, 10 Feb 2022 15:02:23 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:56116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240614AbiBJUCW (ORCPT ); Thu, 10 Feb 2022 15:02:22 -0500 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2299D1AB for ; Thu, 10 Feb 2022 12:02:22 -0800 (PST) Received: by mail-il1-x12b.google.com with SMTP id z18so5299079iln.2 for ; Thu, 10 Feb 2022 12:02:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-language; bh=q9BQkY9/bsdcNqzrqiGJlipJ/U8/3m/snLiGHC4NOug=; b=NHPAM8WqSogOX6IOd7vjaLXEaMg8oSAr40lFInvdoYd1PPLSX/c93+NLB5O/nS4EgS zEp2kJpKAf6UXYs/6lGql7Op6v0c2hribfFydNR2tJ7RCfFzxlR5oP9YiQlnCXbPVKo1 H6mOtLYOnW3bsj9OnI7Zf/XFo3/CoTm00BVjU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:subject:to:cc:message-id:date:user-agent :mime-version:content-language; bh=q9BQkY9/bsdcNqzrqiGJlipJ/U8/3m/snLiGHC4NOug=; b=lW+AMyyQUHZdGrMscoad9yoM56gXr1Su+ua9e1qTYMe55+2+gboU3TSqIZof6M88jY mriTA/vAw0dkUHhvP+vxwpyRPeI+qYJpa2M9PTrTBMKUUYlZkvDyuKV6fGRFi/z4bZ23 P4w8pyqccXZQoSJnEqsKwJg7k+hdFq4fSbboFS4KWDycUgi95jWgOcLLJVNaUoeOoW55 vMGx6gD4p7N715XlHgQAfYq/WARYUYqSc1rLMIUnpNbr/165hVeKPkZPujobLyw8pThc YwPpMqEt3UZvlIHsxpe1Q3xASfkVmMIlTtZLNnu7r53omRM/YdHqk6HMCqfBpggxHd7U C6oQ== X-Gm-Message-State: AOAM533tgSFJz/8jWqdWXp2hhUkP3BsQKzvW4hZKvp7cUAee8/uN3xlf v9O6KZsilbcPb5noZPSvGm8VAw== X-Google-Smtp-Source: ABdhPJzhwg//+iILtTe5CMQKGul1Y0xRjp3+boym/DzmEQ7G76eLETPfL6tJLDCAQRVc7PIRXeyVxQ== X-Received: by 2002:a92:cecb:: with SMTP id z11mr4540304ilq.116.1644523341494; Thu, 10 Feb 2022 12:02:21 -0800 (PST) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id m4sm11046812iln.48.2022.02.10.12.02.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Feb 2022 12:02:21 -0800 (PST) From: Shuah Khan Subject: [GIT PULL] KUnit fixes update for Linux 5.17-rc4 To: Linus Torvalds Cc: Shuah Khan , Brendan Higgins , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <3a0311b2-33af-d13e-e92b-111bfb357a19@linuxfoundation.org> Date: Thu, 10 Feb 2022 13:02:20 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Hi Linus, Please pull the following KUnit fixes update for Linux 5.17-rc4. This KUnit fixes update for Linux 5.17-rc4 consists of bug fixes to the test and usage documentation. Note: The doc fix patch resolves a bugzilla issue. diff is attached. thanks, -- Shuah ---------------------------------------------------------------- The following changes since commit 235528072f28b3b0a1446279b7eaddda36dbf743: kunit: tool: Import missing importlib.abc (2022-01-25 12:59:43 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-kunit-fixes-5.17-rc4 for you to fetch changes up to 92a68053c3468705e2c7c752c9a3f256304a35a6: Documentation: KUnit: Fix usage bug (2022-02-08 13:16:20 -0700) ---------------------------------------------------------------- linux-kselftest-kunit-fixes-5.17-rc4 This KUnit fixes update for Linux 5.17-rc4 consists of bug fixes to the test and usage documentation. ---------------------------------------------------------------- Akira Kawata (1): Documentation: KUnit: Fix usage bug Daniel Latypov (1): kunit: fix missing f in f-string in run_checks.py Documentation/dev-tools/kunit/usage.rst | 2 +- tools/testing/kunit/run_checks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------- diff --git a/Documentation/dev-tools/kunit/usage.rst b/Documentation/dev-tools/kunit/usage.rst index 76af931a332c..1c83e7d60a8a 100644 --- a/Documentation/dev-tools/kunit/usage.rst +++ b/Documentation/dev-tools/kunit/usage.rst @@ -242,7 +242,7 @@ example: int rectangle_area(struct shape *this) { - struct rectangle *self = container_of(this, struct shape, parent); + struct rectangle *self = container_of(this, struct rectangle, parent); return self->length * self->width; }; diff --git a/tools/testing/kunit/run_checks.py b/tools/testing/kunit/run_checks.py index 4f32133ed77c..13d854afca9d 100755 --- a/tools/testing/kunit/run_checks.py +++ b/tools/testing/kunit/run_checks.py @@ -61,7 +61,7 @@ def main(argv: Sequence[str]) -> None: elif isinstance(ex, subprocess.CalledProcessError): print(f'{name}: FAILED') else: - print('{name}: unexpected exception: {ex}') + print(f'{name}: unexpected exception: {ex}') continue output = ex.output