Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: client/site_tests/factory_Review/factory_Review.py

Issue 3197015: Fix test dargs, and statusmap creation. (Closed) Base URL: http://src.chromium.org/git/autotest.git
Patch Set: tested, this should work Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/bin/factory.py ('k') | client/site_tests/factory_Wipe/factory_Wipe.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/factory_Review/factory_Review.py
diff --git a/client/site_tests/factory_Review/factory_Review.py b/client/site_tests/factory_Review/factory_Review.py
index 13895fac431e82338abd012f2e4d76a214be130e..0cbb191caa748466e841c1ad91c041336f5cf5a5 100644
--- a/client/site_tests/factory_Review/factory_Review.py
+++ b/client/site_tests/factory_Review/factory_Review.py
@@ -46,7 +46,7 @@ class factory_Review(test.test):
self._ft_state = ful.State(trigger_set)
- status_map = ful.StatusMap(status_file_path, test_list)
+ status_map = factory.StatusMap(test_list, status_file_path)
untested = status_map.filter(ful.UNTESTED)
passed = status_map.filter(ful.PASSED)
failed = status_map.filter(ful.FAILED)
@@ -55,7 +55,7 @@ class factory_Review(test.test):
'PASSED=%d\t' % len(passed) +
'FAILED=%d' % len(failed))
- failed_msgs_map = [(t, status_map.lookup_error(t)) for t in failed]
+ failed_msgs_map = [(t, status_map.lookup_error_msg(t)) for t in failed]
failure_report_list = ['%s : %s' % (t.label_en, e)
for t, e in failed_msgs_map]
failure_report = ful.make_label('\n'.join(failure_report_list))
« no previous file with comments | « client/bin/factory.py ('k') | client/site_tests/factory_Wipe/factory_Wipe.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698