From patchwork Sun Jul 31 23:35:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 654425 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3s2f3p015yz9sDk for ; Mon, 1 Aug 2016 09:36:06 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=Gh0gcPD7; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6EA80A751B; Mon, 1 Aug 2016 01:35:58 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NGHyPYDRF6a2; Mon, 1 Aug 2016 01:35:58 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D5908A756D; Mon, 1 Aug 2016 01:35:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 30747A74FB for ; Mon, 1 Aug 2016 01:35:35 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p9ycrz0xPcfQ for ; Mon, 1 Aug 2016 01:35:35 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-it0-f47.google.com (mail-it0-f47.google.com [209.85.214.47]) by theia.denx.de (Postfix) with ESMTPS id AB6E84BF90 for ; Mon, 1 Aug 2016 01:35:29 +0200 (CEST) Received: by mail-it0-f47.google.com with SMTP id f6so152880710ith.0 for ; Sun, 31 Jul 2016 16:35:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=GPJKnAmtBMPuOPpoWHmLcqvTtsoxfMIKTR1/6JI/tWE=; b=Gh0gcPD7nFUpoXHC1PHXFMnEm5UAcF54uv171bPFnNSGYxwbwsSC7HwZIeGWXd/jnL X4iLS6lU2h7QXztQiyZu/Q6so+Jwz80+rCWjV49K0oGVH4uvWLeeGvwpW7fOcr3moVH2 65L1REx3HMZSV2JkHi0QapO//VYpqfjzV0bhfk8ZXE0XaKkiefh3rQFifzPPE2nrprLX C+4Y8i6wZKqmMST+0u3sBNt42FKkwnP5XbKgDhGAwfkIDbrmjUhM45qIwSaR7wKO0ysw wdQpxZw1712y/TnhOKykh/AOnPLEhZf4A1i3wAtoRC6vyNiyg17zsVCkEQTnVOa3obHv UNug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=GPJKnAmtBMPuOPpoWHmLcqvTtsoxfMIKTR1/6JI/tWE=; b=FuGBM4hinsrlNOsngd+CnXBVMMNa6Ip74MiPDV5Ylj4HGGw4ZkC2vkvxDhiOb31/qN iuFpesqWkPOjjwODUtNq/JbvaYyqHgliVp7a6+iJtofWkaErybuM2rQkL8R1QPkLRxMi pGeLb3IJTSuedgjGnvdT/b7QGhbDXqB48e+XswVCtZAvluBlcNi1QJUn71VFBBIaT/fG 1Lt8J6bpqzOmn/pD7my3/rrYkLyukkcmQxwUFJNcNzVZsrHzbdg+JRStNOooyqLEjCFn Ok/khLsY6SrvrFMVHFJt/X1k3brWsHuXH8emNzIroczOQltnqtUJauPrnKN6SCa1Wg15 v5Ww== X-Gm-Message-State: AEkoousVyPbTeEheXodQTh593a7LZf4RTEqXuyVc1IM4yM2iaxr7GndgHDEN08GjSNb21t7w X-Received: by 10.36.33.197 with SMTP id e188mr11318052ita.42.1470008128478; Sun, 31 Jul 2016 16:35:28 -0700 (PDT) Received: from kaki.bld.corp.google.com ([100.100.202.55]) by smtp.gmail.com with ESMTPSA id j63sm6618023itj.19.2016.07.31.16.35.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Jul 2016 16:35:27 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 8A9E522102E; Sun, 31 Jul 2016 17:35:25 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Sun, 31 Jul 2016 17:35:07 -0600 Message-Id: <1470008109-9699-8-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1470008109-9699-1-git-send-email-sjg@chromium.org> References: <1470008109-9699-1-git-send-email-sjg@chromium.org> Cc: Tom Rini , Stephen Warren Subject: [U-Boot] [PATCH 7/9] test: vboot: Put each test variant in its own section X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Use 'cons.log.section' feature to split up the test output. This makes it easier to read. Suggested-by: Stephen Warren Signed-off-by: Simon Glass --- test/py/tests/test_vboot.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py index a5032a7..25c3a53 100644 --- a/test/py/tests/test_vboot.py +++ b/test/py/tests/test_vboot.py @@ -67,11 +67,11 @@ def test_vboot(u_boot_console): """ cons.cleanup_spawn() cons.ensure_spawned() - cons.log.action('%s: Test Verified Boot Run: %s' % (sha_algo, test_type)) - output = cons.run_command_list( - ['sb load hostfs - 100 %stest.fit' % tmpdir, - 'fdt addr 100', - 'bootm 100']) + with cons.log.section('Verified boot %s %s' % (sha_algo, test_type)): + output = cons.run_command_list( + ['sb load hostfs - 100 %stest.fit' % tmpdir, + 'fdt addr 100', + 'bootm 100']) assert(expect_string in output) def make_fit(its):