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

Add testsuite descriptions

parent eac7664c
...@@ -48,9 +48,10 @@ my $test_types = { ...@@ -48,9 +48,10 @@ my $test_types = {
}; };
our %testsuite = ( our %testsuite = (
test_types => $test_types, description => 'Tor Browser Bundle integration tests',
pre_tests => \&pre_tests, test_types => $test_types,
post_tests => \&post_tests, pre_tests => \&pre_tests,
post_tests => \&post_tests,
); );
our @tests = ( our @tests = (
......
...@@ -23,9 +23,10 @@ my $test_types = { ...@@ -23,9 +23,10 @@ my $test_types = {
}; };
our %testsuite = ( our %testsuite = (
test_types => $test_types, description => 'Tor Browser unit tests',
pre_tests => \&pre_tests, test_types => $test_types,
post_tests => \&post_tests, pre_tests => \&pre_tests,
post_tests => \&post_tests,
pre_makereport => \&pre_makereport, pre_makereport => \&pre_makereport,
pre_reports_index => \&pre_reports_index, pre_reports_index => \&pre_reports_index,
); );
......
...@@ -154,6 +154,7 @@ sub make_reports_index { ...@@ -154,6 +154,7 @@ sub make_reports_index {
reports_by_type => \%reports_by_type, reports_by_type => \%reports_by_type,
reports_by_tag => \%reports_by_tag, reports_by_tag => \%reports_by_tag,
reports_by_month => \%reports_by_month, reports_by_month => \%reports_by_month,
testsuite_types => \%TBBTestSuite::Tests::testsuite_types,
}; };
$template->process('reports_index.html', $vars, 'index.html') $template->process('reports_index.html', $vars, 'index.html')
|| exit_error "Template Error:\n" . $template->error; || exit_error "Template Error:\n" . $template->error;
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<h1>Tests Reports</h1> <h1>Tests Reports</h1>
<ul> <ul>
[% FOREACH type IN reports_by_type.keys.sort %] [% 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 %] [% IF reports_by_month.$type %]
<div> <div>
Months: Months:
......
Markdown is supported
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