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

Side by Side Diff: third_party/recipe_engine/expect_tests/handle_train.py

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import collections 5 import collections
6 import os 6 import os
7 import sys 7 import sys
8 import time 8 import time
9 9
10 from .type_definitions import DirSeen, Handler, MultiTest 10 from .type_definitions import DirSeen, Handler, MultiTest
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 if self.normal_actions: 139 if self.normal_actions:
140 print '\n'.join(self.normal_actions) 140 print '\n'.join(self.normal_actions)
141 if self.opts.verbose: 141 if self.opts.verbose:
142 if self.verbose_actions: 142 if self.verbose_actions:
143 print '\n'.join(self.verbose_actions) 143 print '\n'.join(self.verbose_actions)
144 144
145 trained = sum(len(x) for x in self.files_expected.itervalues()) 145 trained = sum(len(x) for x in self.files_expected.itervalues())
146 print '-' * 70 146 print '-' * 70
147 print 'Trained %d tests in %0.3fs (ran %d tests)' % ( 147 print 'Trained %d tests in %0.3fs (ran %d tests)' % (
148 trained, time.time() - self.start, self.num_tests) 148 trained, time.time() - self.start, self.num_tests)
OLDNEW
« no previous file with comments | « third_party/recipe_engine/expect_tests/handle_test.py ('k') | third_party/recipe_engine/expect_tests/main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698