OLD | NEW |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 To update the reference files, execute: | 48 To update the reference files, execute: |
49 run-bindings-tests --reset-results | 49 run-bindings-tests --reset-results |
50 | 50 |
51 If the failures are not due to your changes, test results may be out of sync; | 51 If the failures are not due to your changes, test results may be out of sync; |
52 please rebaseline them in a separate CL, after checking that tests fail in ToT. | 52 please rebaseline them in a separate CL, after checking that tests fail in ToT. |
53 In CL, please set: | 53 In CL, please set: |
54 NOTRY=true | 54 NOTRY=true |
55 TBR=(someone in Source/bindings/OWNERS or WATCHLISTS:bindings) | 55 TBR=(someone in Source/bindings/OWNERS or WATCHLISTS:bindings) |
56 """ | 56 """ |
57 | 57 |
58 DEPENDENCY_IDL_FILES = set([ | 58 DEPENDENCY_IDL_FILES = frozenset([ |
59 'SupportTestPartialInterface.idl', | |
60 'TestImplements.idl', | 59 'TestImplements.idl', |
61 'TestImplements2.idl', | 60 'TestImplements2.idl', |
62 'TestImplements3.idl', | 61 'TestImplements3.idl', |
63 'TestPartialInterface.idl', | 62 'TestPartialInterface.idl', |
64 'TestPartialInterfacePython.idl', | 63 'TestPartialInterface2.idl', |
65 'TestPartialInterfacePython2.idl', | |
66 ]) | 64 ]) |
67 | 65 |
68 | 66 |
69 EXTENDED_ATTRIBUTES_FILE = 'bindings/IDLExtendedAttributes.txt' | 67 EXTENDED_ATTRIBUTES_FILE = 'bindings/IDLExtendedAttributes.txt' |
70 | 68 |
71 all_input_directory = '.' # Relative to Source/ | 69 all_input_directory = '.' # Relative to Source/ |
72 test_input_directory = os.path.join('bindings', 'tests', 'idls') | 70 test_input_directory = os.path.join('bindings', 'tests', 'idls') |
73 reference_directory = os.path.join('bindings', 'tests', 'results') | 71 reference_directory = os.path.join('bindings', 'tests', 'results') |
74 | 72 |
75 | 73 |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 print PASS_MESSAGE | 264 print PASS_MESSAGE |
267 return 0 | 265 return 0 |
268 print | 266 print |
269 print FAIL_MESSAGE | 267 print FAIL_MESSAGE |
270 return 1 | 268 return 1 |
271 | 269 |
272 | 270 |
273 def run_bindings_tests(reset_results, verbose): | 271 def run_bindings_tests(reset_results, verbose): |
274 with ScopedTempFileProvider() as provider: | 272 with ScopedTempFileProvider() as provider: |
275 return BindingsTests(reset_results, verbose, provider).main() | 273 return BindingsTests(reset_results, verbose, provider).main() |
OLD | NEW |