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

Side by Side Diff: Tools/Scripts/webkitpy/bindings/main.py

Issue 137583006: Remove tests for unused IDL compiler features (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove other unused line Created 6 years, 11 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
« no previous file with comments | « Source/bindings/tests/results/V8TestTypedefs.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (C) 2011 Google Inc. All rights reserved. 1 # Copyright (C) 2011 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions 4 # modification, are permitted provided that the following conditions
5 # are met: 5 # are met:
6 # 1. Redistributions of source code must retain the above copyright 6 # 1. Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # 2. Redistributions in binary form must reproduce the above copyright 8 # 2. Redistributions in binary form must reproduce the above copyright
9 # notice, this list of conditions and the following disclaimer in the 9 # notice, this list of conditions and the following disclaimer in the
10 # documentation and/or other materials provided with the distribution. 10 # documentation and/or other materials provided with the distribution.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 # Python compiler is incomplete; skip IDLs with unimplemented features 45 # Python compiler is incomplete; skip IDLs with unimplemented features
46 SKIP_PYTHON = set([ 46 SKIP_PYTHON = set([
47 'TestCustomAccessors.idl', 47 'TestCustomAccessors.idl',
48 'TestEventTarget.idl', 48 'TestEventTarget.idl',
49 'TestImplements.idl', 49 'TestImplements.idl',
50 'TestInterface.idl', 50 'TestInterface.idl',
51 'TestObject.idl', 51 'TestObject.idl',
52 'TestPartialInterface.idl', 52 'TestPartialInterface.idl',
53 'TestSVG.idl', 53 'TestSVG.idl',
54 'TestTypedefs.idl',
55 ]) 54 ])
56 55
57 real_input_directory = '.' # Relative to Source/ 56 real_input_directory = '.' # Relative to Source/
58 test_input_directory = os.path.join('bindings', 'tests', 'idls') 57 test_input_directory = os.path.join('bindings', 'tests', 'idls')
59 test_support_input_directory = os.path.join('bindings', 'tests', 'idls', 'testin g') 58 test_support_input_directory = os.path.join('bindings', 'tests', 'idls', 'testin g')
60 reference_directory = os.path.join('bindings', 'tests', 'results') 59 reference_directory = os.path.join('bindings', 'tests', 'results')
61 reference_event_names_filename = os.path.join(reference_directory, 'EventInterfa ces.in') 60 reference_event_names_filename = os.path.join(reference_directory, 'EventInterfa ces.in')
62 61
63 62
64 class ScopedTempFileProvider(object): 63 class ScopedTempFileProvider(object):
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 300
302 all_tests_passed = self.run_tests() 301 all_tests_passed = self.run_tests()
303 if all_tests_passed: 302 if all_tests_passed:
304 if self.verbose: 303 if self.verbose:
305 print 304 print
306 print PASS_MESSAGE 305 print PASS_MESSAGE
307 return 0 306 return 0
308 print 307 print
309 print FAIL_MESSAGE 308 print FAIL_MESSAGE
310 return -1 309 return -1
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestTypedefs.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698