Fixed missing results.

This commit is contained in:
Andrew Hamilton 2016-03-02 22:35:28 +00:00
parent ec0c98abb3
commit b2e087a9db
2 changed files with 3 additions and 3 deletions

4
BUGS
View file

@ -15,8 +15,6 @@ Current (tool related)
- disassemble for python doesn't always work. - disassemble for python doesn't always work.
- gut had an error with utf-8. A traceback printed directly on the screen, - gut had an error with utf-8. A traceback printed directly on the screen,
garbling the interface. garbling the interface.
- Some results are always missing their contents and are showing "?".
e.g. golden-files/results/uncrustify-hello_c <- contents and metadata
- There is much less code coverage than I expect from vigil.py, tools.py - There is much less code coverage than I expect from vigil.py, tools.py
and worker.py. and worker.py.
@ -229,6 +227,8 @@ Fixed
- If a tool runs a script that needs sudo, the password prompt is garbling - If a tool runs a script that needs sudo, the password prompt is garbling
the screen and stopping input. the screen and stopping input.
<- Now vigil always gets sudo. <- Now vigil always gets sudo.
- Some results are always missing their contents and are showing "?".
e.g. golden-files/results/uncrustify-hello_c <- contents and metadata
Won't fix Won't fix

2
vigil
View file

@ -270,7 +270,7 @@ class Summary:
else: else:
result = tools.Result(path, tool) result = tools.Result(path, tool)
jobs_added = True jobs_added = True
all_results.add(result) all_results.add(result)
if result.is_completed: if result.is_completed:
completed_total += 1 completed_total += 1
file_entry = new_cache.setdefault(file_key, {}) file_entry = new_cache.setdefault(file_key, {})