visual tests: set test duration to zero on error
This commit is contained in:
parent
32afdb10e5
commit
96b35c540d
1 changed files with 1 additions and 0 deletions
|
@ -244,6 +244,7 @@ result_list runner::test_range(files_iterator begin,
|
|||
r.state = STATE_ERROR;
|
||||
r.name = file.string();
|
||||
r.error_message = ex.what();
|
||||
r.duration = std::chrono::high_resolution_clock::duration::zero();
|
||||
results.emplace_back(r);
|
||||
mapnik::util::apply_visitor(report_visitor(r), report.get());
|
||||
++fail_count.get();
|
||||
|
|
Loading…
Add table
Reference in a new issue