From patchwork Tue May 4 19:02:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1473961 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FZTlK0kyPz9s1l for ; Wed, 5 May 2021 05:03:41 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 63BD03C799B for ; Tue, 4 May 2021 21:03:38 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [IPv6:2001:4b78:1:20::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id C8C583C17CE for ; Tue, 4 May 2021 21:02:49 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-5.smtp.seeweb.it (Postfix) with ESMTPS id 038EF600923 for ; Tue, 4 May 2021 21:02:47 +0200 (CEST) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id DBDEEB25A for ; Tue, 4 May 2021 19:02:46 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Tue, 4 May 2021 21:02:36 +0200 Message-Id: <20210504190240.24250-2-pvorel@suse.cz> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210504190240.24250-1-pvorel@suse.cz> References: <20210504190240.24250-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-5.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=7.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-5.smtp.seeweb.it Subject: [LTP] [PATCH v2 1/5] docparse: Move CVE and git link into Info column X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Previously it was in Tags column (1st row), which is a bit confusing. Also texts in 1st column will be made clickable too, pointing to the section with tests with this key/tag. Suggested-by: Cyril Hrubis Signed-off-by: Petr Vorel Acked-by: Cyril Hrubis --- docparse/testinfo.pl | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docparse/testinfo.pl b/docparse/testinfo.pl index ccce67be4..7c74009d7 100755 --- a/docparse/testinfo.pl +++ b/docparse/testinfo.pl @@ -391,22 +391,19 @@ sub content_all_tests } my $k = @$tag[0]; my $v = @$tag[1]; - my $text = $k; if (defined($$git_url{$k})) { - $text .= "-$v"; - $commits{$k} = () unless (defined($commits{$k})); unless (defined($commits{$k}{$v})) { chdir($$git_url{$k}); $commits{$k}{$v} = `git log --pretty=format:'%s' -1 $v`; chdir(OUTDIR); } - $v = $commits{$k}{$v}; + $v .= ' ("' . $commits{$k}{$v} . '")'; } - my $a = html_a(tag_url($k, @$tag[1]), $text); - $content .= "\n|$a\n|$v\n"; + $v = html_a(tag_url($k, @$tag[1]), $v); + $content .= "\n|$k\n|$v\n"; $tmp2 = 1; } if (defined($tmp2)) { From patchwork Tue May 4 19:02:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1473958 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FZTkm0gZ9z9s1l for ; Wed, 5 May 2021 05:03:12 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id E4DB43C5D1D for ; Tue, 4 May 2021 21:03:09 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [217.194.8.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id AE94B3C17CE for ; Tue, 4 May 2021 21:02:48 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-6.smtp.seeweb.it (Postfix) with ESMTPS id 169D51400DB8 for ; Tue, 4 May 2021 21:02:48 +0200 (CEST) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 0D58CB264 for ; Tue, 4 May 2021 19:02:47 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Tue, 4 May 2021 21:02:37 +0200 Message-Id: <20210504190240.24250-3-pvorel@suse.cz> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210504190240.24250-1-pvorel@suse.cz> References: <20210504190240.24250-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-6.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=7.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-6.smtp.seeweb.it Subject: [LTP] [PATCH v2 2/5] docparse: Filter .tags by key X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" i.e. into CVE, linux-git, ... sections. Flags has already been sorted, but .tags flag has arbitrary key, further filtering by key improves a lot searching for particular info. Signed-off-by: Petr Vorel --- docparse/testinfo.pl | 53 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 42 insertions(+), 11 deletions(-) diff --git a/docparse/testinfo.pl b/docparse/testinfo.pl index 7c74009d7..194365ea3 100755 --- a/docparse/testinfo.pl +++ b/docparse/testinfo.pl @@ -217,21 +217,46 @@ sub get_filters { my $json = shift; my %data; + while (my ($k, $v) = each %{$json->{'tests'}}) { for my $j (keys %{$v}) { - next if ($j eq 'fname' || $j eq 'doc'); - $data{$j} = () unless (defined($data{$j})); - push @{$data{$j}}, $k; + + if ($j eq 'tags') { + for my $tags (@{$v}{'tags'}) { + for my $tag (@$tags) { + my $k2 = $$tag[0]; + my $v2 = $$tag[1]; + $data{$j}{$k2} = () unless (defined($data{$j}{$k2})); + push @{$data{$j}{$k2}}, $k unless grep{$_ eq $k} @{$data{$j}{$k2}}; + } + } + } else { + push @{$data{$j}}, $k unless grep{$_ eq $k} @{$data{$j}}; + } } } return \%data; } -# TODO: Handle better .tags (and anything else which contains array) -# e.g. for .tags there could be separate list for CVE and linux-git -# (now it's together in single list). +sub content_filter +{ + my $k = $_[0]; + my $title = $_[1]; + my $desc = $_[2]; + my $h = $_[3]; + my ($letter, $prev_letter, $content); + + $content = label($k); + $content .= $title; + $content .= paragraph("Tests containing $desc flag."); + + $content .= get_test_names(\@{$h}); + + return $content; +} + sub content_filters { my $json = shift; @@ -240,11 +265,17 @@ sub content_filters my $content; for my $k (sort keys %$data) { - my $tag = tag2title($k); - my ($letter, $prev_letter); - $content .= h2($tag); - $content .= paragraph("Tests containing $tag flag."); - $content .= get_test_names(\@{$h{$k}}); + my $title = tag2title($k); + if (ref($h{$k}) eq 'HASH') { + $content .= label($k); + $content .= h2($title); + for my $k2 (sort keys %{$h{$k}}) { + my $title2 = code($k2); + $content .= content_filter($k2, h3($title2), "$title $title2", $h{$k}{$k2}); + } + } else { + $content .= content_filter($k, h2($title), $title, \@{$h{$k}}); + } } return $content; From patchwork Tue May 4 19:02:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1473956 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FZTkV2QjZz9s1l for ; Wed, 5 May 2021 05:02:55 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 857803C5854 for ; Tue, 4 May 2021 21:02:51 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [217.194.8.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 765343C17CE for ; Tue, 4 May 2021 21:02:48 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id F01EE600946 for ; Tue, 4 May 2021 21:02:47 +0200 (CEST) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 2F829B27F for ; Tue, 4 May 2021 19:02:47 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Tue, 4 May 2021 21:02:38 +0200 Message-Id: <20210504190240.24250-4-pvorel@suse.cz> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210504190240.24250-1-pvorel@suse.cz> References: <20210504190240.24250-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-2.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=7.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-2.smtp.seeweb.it Subject: [LTP] [PATCH v2 3/5] docparse: Make tags in table clickable X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" linked to the section. Acked-by: Cyril Hrubis Signed-off-by: Petr Vorel --- docparse/testinfo.pl | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docparse/testinfo.pl b/docparse/testinfo.pl index 194365ea3..2aeee1a17 100755 --- a/docparse/testinfo.pl +++ b/docparse/testinfo.pl @@ -95,6 +95,10 @@ sub hr sub html_a { my ($url, $text) = @_; + + # escape ] + $text =~ s/([]])/\\$1/g; + return "$url\[$text\]"; } @@ -125,7 +129,12 @@ sub paragraph sub reference { - return "xref:$_[0]\[$_[0]\]" . (defined($_[1]) ? $_[1] : "") . "\n"; + my ($link, %args) = @_; + + $args{text} //= $link; + $args{delimiter} //= ""; + + return "xref:$link\[$args{text}\]$args{delimiter}\n"; } sub table @@ -179,7 +188,7 @@ sub get_test_names $content .= "\n"; } - $content .= reference($name, " "); + $content .= reference($name, delimiter => " "); $prev_letter = $letter; } $content .= "\n"; @@ -388,7 +397,7 @@ sub content_all_tests $content .= table . "|Key|Value\n\n" } - $content .= "|" . tag2title($k) . "\n|"; + $content .= "|" . reference($k, text => tag2title($k)) . "\n|"; if (ref($v) eq 'ARRAY') { # two dimensional array @@ -434,7 +443,7 @@ sub content_all_tests } $v = html_a(tag_url($k, @$tag[1]), $v); - $content .= "\n|$k\n|$v\n"; + $content .= "\n|" . reference($k) . "\n|$v\n"; $tmp2 = 1; } if (defined($tmp2)) { From patchwork Tue May 4 19:02:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1473959 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FZTkx1pp7z9s1l for ; Wed, 5 May 2021 05:03:21 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id ED5CF3C58B5 for ; Tue, 4 May 2021 21:03:18 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [IPv6:2001:4b78:1:20::4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 074503C17CE for ; Tue, 4 May 2021 21:02:48 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-4.smtp.seeweb.it (Postfix) with ESMTPS id 0ADAF100096A for ; Tue, 4 May 2021 21:02:48 +0200 (CEST) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 554ECB286 for ; Tue, 4 May 2021 19:02:47 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Tue, 4 May 2021 21:02:39 +0200 Message-Id: <20210504190240.24250-5-pvorel@suse.cz> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210504190240.24250-1-pvorel@suse.cz> References: <20210504190240.24250-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-4.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=7.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-4.smtp.seeweb.it Subject: [LTP] [PATCH v2 4/5] docparse: Sort alphabetically tags in table X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Signed-off-by: Petr Vorel --- docparse/testinfo.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docparse/testinfo.pl b/docparse/testinfo.pl index 2aeee1a17..857278ac8 100755 --- a/docparse/testinfo.pl +++ b/docparse/testinfo.pl @@ -424,8 +424,9 @@ sub content_all_tests $tmp2 = undef; my %commits; + my @sorted_tags = sort { $a->[0] cmp $b->[0] } @{$json->{'tests'}{$name}{tags}}; - for my $tag (@{$json->{'tests'}{$name}{tags}}) { + for my $tag (@sorted_tags) { if (!defined($tmp2)) { $content .= table . "|Tags|Info\n" } From patchwork Tue May 4 19:02:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1473960 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FZTl71hbbz9sSs for ; Wed, 5 May 2021 05:03:31 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 180E13C58B5 for ; Tue, 4 May 2021 21:03:29 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [IPv6:2001:4b78:1:20::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 2F3333C17CE for ; Tue, 4 May 2021 21:02:49 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id CE74860029A for ; Tue, 4 May 2021 21:02:48 +0200 (CEST) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 76CC3B289 for ; Tue, 4 May 2021 19:02:47 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Tue, 4 May 2021 21:02:40 +0200 Message-Id: <20210504190240.24250-6-pvorel@suse.cz> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210504190240.24250-1-pvorel@suse.cz> References: <20210504190240.24250-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-2.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=7.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-2.smtp.seeweb.it Subject: [LTP] [PATCH v2 5/5] docparse: Fix headers X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" headers started from tag

instead of

. This results in bigger font size for headers thus removing horizontal ruler (
). Signed-off-by: Petr Vorel --- docparse/testinfo.pl | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/docparse/testinfo.pl b/docparse/testinfo.pl index 857278ac8..8bc4623b6 100755 --- a/docparse/testinfo.pl +++ b/docparse/testinfo.pl @@ -87,11 +87,6 @@ sub code return "+$_[0]+"; } -sub hr -{ - return "\n\n'''\n\n"; -} - sub html_a { my ($url, $text) = @_; @@ -104,17 +99,17 @@ sub html_a sub h1 { - return "== $_[0]\n"; + return "= $_[0]\n"; } sub h2 { - return "=== $_[0]\n"; + return "== $_[0]\n"; } sub h3 { - return "==== $_[0]\n"; + return "=== $_[0]\n"; } sub label @@ -355,7 +350,6 @@ sub content_all_tests $printed = $letter; } - $content .= hr() if (defined($tmp)); $content .= label($name); $content .= h3($name); $content .= $letters;