Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3871847pxb; Tue, 17 Nov 2020 05:54:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvcALxO9yc3zvFSJ8NG4XSOUt0ct51fKmk4091esVIMmuuQ4k0mtIF4q+c66iJ7pDkSRp7 X-Received: by 2002:a50:8a8e:: with SMTP id j14mr10325844edj.87.1605621254652; Tue, 17 Nov 2020 05:54:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605621254; cv=none; d=google.com; s=arc-20160816; b=OifLbZTlKAjvHS6tRflJm+p+PvtaQT27b5rpQUJeD0eed5K3i6Vq6y/7diG5dxtIOw vxqfP63SM7uwarhTkI3WTz+BIlfi4O68hD1fDAfKDDbNcXZ6YvihP9mTYiZzp2Y+ATNA WrNONsAX7tCcMy6W4l73FIgQ1dVovVdq18a1gXUWyA06F7mPChCMTw9fZagPf9pKklUe kQxrVYHqnDITJ5LJqrMqzD6LR89viOtMpdfzhvBcxdefunEPEr2fDkKE2Wn2+1LHvElZ poDY7HuqqtKsoHkC7Uu3LXj9C44aNPRBECynl19tmpobEYXzAMJXW5zYGQX54Z5AVfN2 AEig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=o2hGvoIIVIywFbKi7ymp0VMLoSH0Dn2s8x1Pr1HeV/c=; b=YKAfuFDmMVkPXjI4uLefwHycXvzbqXgDSE4Hu5GBK/qU1xoGpveiyQKwg7q4uZ1Oo8 8fDWAJJK2NPo9ItIyb6U/G8IXt26JYSGZFXN2fD2cBeVxaKQ+CRxVRxOVOc0Z3JBxsmY beJQ4JT28vdfjb0hhRGx+rFP0sa4xhBZNZd9UQgFGt/KO8bLc4wiBmggjC4fNAr+aqp+ 4/cwmBXAVtBgSVasgMDNBDDTFa+f83nmHziSZ7VNi9PdIE47L5a/HHafULeCo3MAupdY Ojv/FxgJih5N0NoeFTj9WlEKP8Ska1pCv8Wgm20HFMSw39Yd99EbqUxPA5ab62GD9aoM YpjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="l0tqQ/LK"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc16si14212457edb.391.2020.11.17.05.53.51; Tue, 17 Nov 2020 05:54:14 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b="l0tqQ/LK"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387605AbgKQNvz (ORCPT + 99 others); Tue, 17 Nov 2020 08:51:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:39378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731891AbgKQNaR (ORCPT ); Tue, 17 Nov 2020 08:30:17 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D122B2078E; Tue, 17 Nov 2020 13:30:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605619816; bh=xpxuWE5pO62/YMqkZ2nFUDwZHSXCZjj46pc1owWSEDs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l0tqQ/LKt2B71OUJjyRIuETK53wv95LeBcXvkinyQJcRnMhNwgjq11RW+0/n9I62w TAPAtCPUT5xL9MBRT+v2cu6AqSriPuWSCf6ZAbcNQyYpIl3jC6Jiezfg6sESMnOWbz 0nIXT12bLg+MyZl6Fizr2Sh+jsm2T0KdWzWkMAf4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, David Gow , Brendan Higgins , Shuah Khan , Sasha Levin Subject: [PATCH 5.9 014/255] kunit: Fix kunit.py --raw_output option Date: Tue, 17 Nov 2020 14:02:34 +0100 Message-Id: <20201117122139.634413840@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201117122138.925150709@linuxfoundation.org> References: <20201117122138.925150709@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: David Gow [ Upstream commit 3023d8ff3fc60e5d32dc1d05f99ad6ffa12b0033 ] Due to the raw_output() function on kunit_parser.py actually being a generator, it only runs if something reads the lines it returns. Since we no-longer do that (parsing doesn't actually happen if raw_output is enabled), it was not printing anything. Fixes: 45ba7a893ad8 ("kunit: kunit_tool: Separate out config/build/exec/parse") Signed-off-by: David Gow Reviewed-by: Brendan Higgins Tested-by: Brendan Higgins Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- tools/testing/kunit/kunit_parser.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/kunit/kunit_parser.py b/tools/testing/kunit/kunit_parser.py index f13e0c0d66639..62a0848699671 100644 --- a/tools/testing/kunit/kunit_parser.py +++ b/tools/testing/kunit/kunit_parser.py @@ -65,7 +65,6 @@ def isolate_kunit_output(kernel_output): def raw_output(kernel_output): for line in kernel_output: print(line) - yield line DIVIDER = '=' * 60 -- 2.27.0