From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QrdRW-0001D0-QU for garchives@archives.gentoo.org; Thu, 11 Aug 2011 22:09:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4500721C3F8; Thu, 11 Aug 2011 22:09:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 18F2D21C3FA for ; Thu, 11 Aug 2011 22:09:12 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 90A5D1B4063 for ; Thu, 11 Aug 2011 22:09:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id BBAEC8004F for ; Thu, 11 Aug 2011 22:09:10 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: Subject: [gentoo-commits] proj/pms-test-suite:master commit in: pmstestsuite/output/ X-VCS-Repository: proj/pms-test-suite X-VCS-Files: pmstestsuite/output/html.py X-VCS-Directories: pmstestsuite/output/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a90ac95ab4bc14e0646ac23793799429166dd18b Date: Thu, 11 Aug 2011 22:09:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 054135a4b5b4c1565c5c2df5559f75d6 commit: a90ac95ab4bc14e0646ac23793799429166dd18b Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Thu Aug 11 22:10:20 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Thu Aug 11 22:10:20 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms-test-suit= e.git;a=3Dcommit;h=3Da90ac95a HTML output: let assertion prefixes rowspan. --- pmstestsuite/output/html.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pmstestsuite/output/html.py b/pmstestsuite/output/html.py index abcd5af..f423d8f 100644 --- a/pmstestsuite/output/html.py +++ b/pmstestsuite/output/html.py @@ -183,12 +183,13 @@ class HTMLOutput(OutputModule): col =3D 5 for pm, r in _sorted_pms(tests[t]): table[row][col+1] =3D BoolCell(r) - for a in r.assertions: + for ai, a in enumerate(r.assertions): if a.name not in test_asserts: test_asserts.append(a.name) crow =3D row + test_asserts.index(a.name) if a.prefix is not None: - table[crow][2] =3D a.prefix + if ai =3D=3D 0 or table[crow-1][2] !=3D a.prefix: + table[crow][2] =3D a.prefix table[crow][3] =3D a.unprefixed_name else: table[crow][2] =3D TD(a.name, colspan =3D 2)