burnin.ExecOrQueue: add post-process function
authorGuido Trotter <ultrotter@google.com>
Sat, 27 Mar 2010 10:37:51 +0000 (10:37 +0000)
committerGuido Trotter <ultrotter@google.com>
Fri, 9 Apr 2010 14:54:46 +0000 (15:54 +0100)
commit2c035435bdf6b8c87f221a3af21a3eb8e3394bcc
tree99041d474697f6abb6ef7d6b7c337d1310bfe6e5
parentb05f29a6e2f59005fdb7bfad793b472f350557f5
burnin.ExecOrQueue: add post-process function

If a post-process function is passed to ExecOrQueue it is executed if
and only if the job is successful. This happens immediately if we're
proceding iteratively, and at the end, when we collect all job results,
if we're proceding in parallel.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
tools/burnin