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 1QpcHz-0007L4-Jt for garchives@archives.gentoo.org; Sat, 06 Aug 2011 08:31:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7C2E21C223; Sat, 6 Aug 2011 08:31:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8CBDA21C223 for ; Sat, 6 Aug 2011 08:31:11 +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 2FCE21B402F for ; Sat, 6 Aug 2011 08:31:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id D93CB80048 for ; Sat, 6 Aug 2011 08:31:09 +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: <29f9cdba1a8fd6bf34187022e57660f8c7d7b04d.mgorny@gentoo> 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: 29f9cdba1a8fd6bf34187022e57660f8c7d7b04d Date: Sat, 6 Aug 2011 08:31:09 +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: 4669742a595718204958e08367d67e3b commit: 29f9cdba1a8fd6bf34187022e57660f8c7d7b04d Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Sat Aug 6 08:31:52 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Sat Aug 6 08:31:52 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms-test-suit= e.git;a=3Dcommit;h=3D29f9cdba Mark not reached assertions as 'unknown'. Rather than rowspanning them. --- pmstestsuite/output/html.py | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/pmstestsuite/output/html.py b/pmstestsuite/output/html.py index af3e10c..519209a 100644 --- a/pmstestsuite/output/html.py +++ b/pmstestsuite/output/html.py @@ -41,6 +41,10 @@ class HTMLOutput(OutputModule): .bad { background: #e88888; } + + .unknown { + background: #b8b8b8; + } @@ -113,6 +117,11 @@ class HTMLOutput(OutputModule): self._color_class =3D 'good' if cond else 'bad' ValCell.__init__(self, 'OK' if cond else 'FAIL') =20 + class UnknownValCell(ValCell): + _color_class =3D 'unknown' + def __init__(self): + ValCell.__init__(self, '?') + class NoCell(HTMLElem): def __init__(self): pass @@ -150,6 +159,8 @@ class HTMLOutput(OutputModule): crow =3D row + test_asserts.index(a.name) table[crow][2] =3D a.name table[crow][3] =3D ValCell(a.expected) + for c in range(4, maxcol, 2): + table[crow][c] =3D UnknownValCell() else: crow =3D row + test_asserts.index(a.name) =20