summaryrefslogtreecommitdiff
path: root/tko/machine_benchmark.cgi
diff options
context:
space:
mode:
authormbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2008-01-03 18:43:12 +0000
committermbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2008-01-03 18:43:12 +0000
commitcedd3bc3add63da41f8d4da03ac4ad0e4c2be318 (patch)
treea6c1f6dfd3ebd33a3cb57b3eb52d8553e2a87a4d /tko/machine_benchmark.cgi
parent068005b2a0738e887529aa32eb305b89e989670d (diff)
Fix machines_hostname to machine_hostname for benchmarks
Signed-off-by: Martin J. Bligh <mbligh@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@1107 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko/machine_benchmark.cgi')
-rwxr-xr-xtko/machine_benchmark.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/tko/machine_benchmark.cgi b/tko/machine_benchmark.cgi
index 89c21c9d..d0b1aef0 100755
--- a/tko/machine_benchmark.cgi
+++ b/tko/machine_benchmark.cgi
@@ -33,11 +33,11 @@ def main():
machine_idx = {}
benchmark_data = {}
for benchmark in benchmarks:
- fields = 'machine_idx,machines_hostname,count(status_word)'
+ fields = 'machine_idx,machine_hostname,count(status_word)'
where = { 'subdir': benchmark, 'status_word' : 'GOOD' }
data = {}
for (idx, machine, count) in db.select(fields, 'test_view',
- where, group_by = 'machines_hostname'):
+ where, group_by = 'machine_hostname'):
data[machine] = count
machine_idx[machine] = idx
benchmark_data[benchmark] = data