add pass/fail info to hydra_heuristics.yml

This commit is contained in:
Clemens Park 2011-08-02 13:07:49 -04:00
parent a9dbf8fda3
commit eb0faf7514
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ module Hydra #:nodoc:
def file_end(file, output) def file_end(file, output)
@report[file]['end'] = Time.now.to_f @report[file]['end'] = Time.now.to_f
@report[file]['duration'] = @report[file]['end'] - @report[file]['start'] @report[file]['duration'] = @report[file]['end'] - @report[file]['start']
@report[file]['all_tests_passed_last_run'] = (output == '.')
end end
# output the report # output the report