From patchwork Mon Mar 13 09:41:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 13172123 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 329FB23A7 for ; Mon, 13 Mar 2023 09:41:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4722C433D2; Mon, 13 Mar 2023 09:41:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678700499; bh=1YJ/aFxJnduaOgWIQBgiyP8hO979tvs7YeoZ9myLRVg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VIDXK4o4TLP1vLwEKhm8bBAxHOq2sH8dslrDQoUwTfvRjJH3fP+oIfirHOQptoY11 EiSaFSVpTBK/o13Ru6W36bxgWgYY1t/fbdi1cK8b23rrDLmXXf09PK3ZDKv2nxbFlN eSb/+xn/auAnwXcKO8cHtnA5Aj0LXxY+kEze5/ThGi8NnAfjjze8qmA0As/hgDxDLB yRjGJKmi9oF66+I2q0TY5W9mMqjctt5k4f44QYohv6P9Ff5umCCEj2BjkAXUCG8IE/ 8BI27lHdDZ140TmaX/AofoSahl3uDtmA4MihpQ4BroHoeE27Z3xxSu6pyUEH624ob9 TwwkMZZRAxIFQ== From: Tzung-Bi Shih To: bleung@chromium.org, groeck@chromium.org Cc: chrome-platform@lists.linux.dev, tzungbi@kernel.org, guillaume.tucker@collabora.com, denys.f@collabora.com, ricardo.canuelo@collabora.com Subject: [PATCH 01/14] lava_runner: rename to LavaTestResult Date: Mon, 13 Mar 2023 17:41:03 +0800 Message-Id: <20230313094116.507600-2-tzungbi@kernel.org> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog In-Reply-To: <20230313094116.507600-1-tzungbi@kernel.org> References: <20230313094116.507600-1-tzungbi@kernel.org> Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 To simplify, rename from LavaTextTestResult to LavaTestResult. Signed-off-by: Tzung-Bi Shih --- cros/runners/lava_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cros/runners/lava_runner.py b/cros/runners/lava_runner.py index 8a570dda064f..2e8b1c42bdeb 100755 --- a/cros/runners/lava_runner.py +++ b/cros/runners/lava_runner.py @@ -13,7 +13,7 @@ from cros.tests.cros_ec_power import * from cros.tests.cros_ec_extcon import * -class LavaTextTestResult(unittest.TestResult): +class LavaTestResult(unittest.TestResult): def __init__(self, runner): unittest.TestResult.__init__(self) self.runner = runner @@ -56,7 +56,7 @@ class LavaTestRunner: self.stream.write(message) def run(self, test): - result = LavaTextTestResult(self) + result = LavaTestResult(self) test(result) result.testsRun return result