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

Side by Side Diff: editor/build/build.py

Issue 23702055: test.py: Support for CompileTimeError,RuntimeError,MissingRuntimeError,MissingCompiletimeError mark… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 import glob 7 import glob
8 import gsutil 8 import gsutil
9 import hashlib
10 import imp 9 import imp
11 import optparse 10 import optparse
12 import os 11 import os
13 import re 12 import re
14 import shutil 13 import shutil
15 import subprocess 14 import subprocess
16 import sys 15 import sys
17 import tempfile 16 import tempfile
18 import ziputils 17 import ziputils
19 18
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 """delete the given file - do not re-throw any exceptions that occur""" 1147 """delete the given file - do not re-throw any exceptions that occur"""
1149 if os.path.exists(f): 1148 if os.path.exists(f):
1150 try: 1149 try:
1151 os.remove(f) 1150 os.remove(f)
1152 except OSError: 1151 except OSError:
1153 print 'error deleting %s' % f 1152 print 'error deleting %s' % f
1154 1153
1155 1154
1156 if __name__ == '__main__': 1155 if __name__ == '__main__':
1157 sys.exit(main()) 1156 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | tests/standalone/io/test_runner_test.dart » ('j') | tools/testing/dart/test_runner.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698