DB schema/parse change to store user name and user assigned labels for tests.
From: radha@google.com
git-svn-id: http://test.kernel.org/svn/autotest/trunk@813 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tko/db.py b/tko/db.py
index 5e6cc29..f83e789 100644
--- a/tko/db.py
+++ b/tko/db.py
@@ -142,10 +142,11 @@
if not job.machine_idx:
job.machine_idx = self.insert_machine(job.machine,
commit=commit)
- self.insert('jobs',
- {'tag':tag,
- 'machine_idx':job.machine_idx},
- commit=commit)
+ self.insert('jobs', {'tag':tag,
+ 'label': job.label,
+ 'user': job.user,
+ 'machine_idx':job.machine_idx},
+ commit=commit)
job.index = self.find_job(tag)
for test in job.tests:
self.insert_test(job, test, commit=commit)