summaryrefslogtreecommitdiff
path: root/tko
diff options
context:
space:
mode:
authormbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2009-05-21 01:41:58 +0000
committermbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2009-05-21 01:41:58 +0000
commitfe148dee47687ad48f32e9859697827771e47c12 (patch)
tree85f08ae647a09fd8858dfa21a52561532159abe0 /tko
parent1f32e0c862b6aca6d941decb6569c19f70343713 (diff)
Send the job dir, not the individual tests, to site_parse
Signed-off-by: Rachel Kroll <rkroll@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@3156 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko')
-rwxr-xr-xtko/parse.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tko/parse.py b/tko/parse.py
index a832a36d..67f76a5b 100755
--- a/tko/parse.py
+++ b/tko/parse.py
@@ -283,12 +283,13 @@ def main():
parse_path(db, path, options.level, options.reparse,
options.mailit)
- if options.site_do_post is True:
- site_post_parse_job(path)
-
finally:
fcntl.flock(lockfile, fcntl.LOCK_UN)
lockfile.close()
+
+ if options.site_do_post is True:
+ site_post_parse_job(results_dir)
+
except:
pid_file_manager.close_file(1)
raise