Unverified Commit 814f05fb authored by boklm's avatar boklm
Browse files

Add testsuite descriptions

parent eac7664c
......@@ -48,9 +48,10 @@ my $test_types = {
};
our %testsuite = (
test_types => $test_types,
pre_tests => \&pre_tests,
post_tests => \&post_tests,
description => 'Tor Browser Bundle integration tests',
test_types => $test_types,
pre_tests => \&pre_tests,
post_tests => \&post_tests,
);
our @tests = (
......
......@@ -23,9 +23,10 @@ my $test_types = {
};
our %testsuite = (
test_types => $test_types,
pre_tests => \&pre_tests,
post_tests => \&post_tests,
description => 'Tor Browser unit tests',
test_types => $test_types,
pre_tests => \&pre_tests,
post_tests => \&post_tests,
pre_makereport => \&pre_makereport,
pre_reports_index => \&pre_reports_index,
);
......
......@@ -154,6 +154,7 @@ sub make_reports_index {
reports_by_type => \%reports_by_type,
reports_by_tag => \%reports_by_tag,
reports_by_month => \%reports_by_month,
testsuite_types => \%TBBTestSuite::Tests::testsuite_types,
};
$template->process('reports_index.html', $vars, 'index.html')
|| exit_error "Template Error:\n" . $template->error;
......
......@@ -27,7 +27,7 @@
<h1>Tests Reports</h1>
<ul>
[% FOREACH type IN reports_by_type.keys.sort %]
<li><a href="index-[% type %].html">[% type %] reports</a>
<li><a href="index-[% type %].html">[% testsuite_types.$type.description %]</a>
[% IF reports_by_month.$type %]
<div>
Months:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment