add frontend matrix for performance benchmarks
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@694 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tko/frontend.py b/tko/frontend.py
index d08fd80..3bd4c86 100755
--- a/tko/frontend.py
+++ b/tko/frontend.py
@@ -31,11 +31,11 @@
class test:
@classmethod
- def select(klass, db, where = {}):
+ def select(klass, db, where = {}, distinct = False):
fields = ['test_idx', 'job_idx', 'test', 'subdir',
'kernel_idx', 'status', 'reason', 'machine']
tests = []
- for row in db.select(','.join(fields), 'tests', where):
+ for row in db.select(','.join(fields), 'tests', where, distinct):
tests.append(klass(db, *row))
return tests