diff options
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2007-10-01 15:49:58 +0000 |
---|---|---|
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | 2007-10-01 15:49:58 +0000 |
commit | c05cbb57c5f75bac83f28d9589598eb234d0226c (patch) | |
tree | b3bc632abd49c4e03935785e984a11400d60f9d3 /tko | |
parent | 46f348a6befb0471d496a87ea0c35ea5cf3792ae (diff) |
Provide cross-links between functional and performance matrices
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@733 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko')
-rwxr-xr-x | tko/display.py | 7 | ||||
-rwxr-xr-x | tko/machine_benchmark.cgi | 2 | ||||
-rwxr-xr-x | tko/machine_kernel.cgi | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/tko/display.py b/tko/display.py index fc8375e9..caba11f5 100755 --- a/tko/display.py +++ b/tko/display.py @@ -68,3 +68,10 @@ def sort_tests(tests): tests.remove(test) return results + sorted(tests) + +def print_main_header(): + print '<h2>' + print '<a href="machine_kernel.cgi">Functional</a>' + print '   ' + print '<a href="machine_benchmark.cgi">Performance</a>' + print '</h2><p>' diff --git a/tko/machine_benchmark.cgi b/tko/machine_benchmark.cgi index 1bdfbb90..307f6412 100755 --- a/tko/machine_benchmark.cgi +++ b/tko/machine_benchmark.cgi @@ -20,6 +20,8 @@ def main(): print "Content-type: text/html\n" sys.stdout.flush() + display.print_main_header() + rows = db.select('test', 'tests', {}, distinct = True) benchmarks = [] for row in rows: diff --git a/tko/machine_kernel.cgi b/tko/machine_kernel.cgi index f62d40e4..af6884cf 100755 --- a/tko/machine_kernel.cgi +++ b/tko/machine_kernel.cgi @@ -14,6 +14,10 @@ db = db.db() def main(): print "Content-type: text/html\n" + sys.stdout.flush() + + display.print_main_header() + machines = frontend.machine.select(db) print_machines_vs_all_kernels(machines) |