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

Side by Side Diff: mojo/public/tools/bindings/pylib/mojom/generate/test_support.py

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 sys 5 import sys
6 import traceback 6 import traceback
7 7
8 import module as mojom 8 import module as mojom
9 9
10 # Support for writing mojom test cases. 10 # Support for writing mojom test cases.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 except: 184 except:
185 traceback.print_exc(sys.stderr) 185 traceback.print_exc(sys.stderr)
186 errors = 1 186 errors = 1
187 if errors == 0: 187 if errors == 0:
188 sys.stdout.write('OK\n') 188 sys.stdout.write('OK\n')
189 elif errors == 1: 189 elif errors == 1:
190 sys.stdout.write('1 ERROR\n') 190 sys.stdout.write('1 ERROR\n')
191 else: 191 else:
192 sys.stdout.write('%d ERRORS\n' % errors) 192 sys.stdout.write('%d ERRORS\n' % errors)
193 return errors 193 return errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698