| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 TBR=(someone in Source/bindings/OWNERS or WATCHLISTS:bindings) | 62 TBR=(someone in Source/bindings/OWNERS or WATCHLISTS:bindings) |
| 63 """ | 63 """ |
| 64 | 64 |
| 65 DEPENDENCY_IDL_FILES = frozenset([ | 65 DEPENDENCY_IDL_FILES = frozenset([ |
| 66 'TestImplements.idl', | 66 'TestImplements.idl', |
| 67 'TestImplements2.idl', | 67 'TestImplements2.idl', |
| 68 'TestImplements3.idl', | 68 'TestImplements3.idl', |
| 69 'TestPartialInterface.idl', | 69 'TestPartialInterface.idl', |
| 70 'TestPartialInterface2.idl', | 70 'TestPartialInterface2.idl', |
| 71 'TestPartialInterface3.idl', | 71 'TestPartialInterface3.idl', |
| 72 'TestPartialInterface4.idl', |
| 72 ]) | 73 ]) |
| 73 | 74 |
| 74 # core/inspector/InspectorInstrumentation.idl is not a valid Blink IDL. | 75 # core/inspector/InspectorInstrumentation.idl is not a valid Blink IDL. |
| 75 NON_BLINK_IDL_FILES = frozenset([ | 76 NON_BLINK_IDL_FILES = frozenset([ |
| 76 'InspectorInstrumentation.idl', | 77 'InspectorInstrumentation.idl', |
| 77 ]) | 78 ]) |
| 78 | 79 |
| 79 COMPONENT_DIRECTORY = frozenset(['core', 'modules']) | 80 COMPONENT_DIRECTORY = frozenset(['core', 'modules']) |
| 80 | 81 |
| 81 test_input_directory = os.path.join(source_path, 'bindings', 'tests', 'idls') | 82 test_input_directory = os.path.join(source_path, 'bindings', 'tests', 'idls') |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 | 344 |
| 344 | 345 |
| 345 def run_bindings_tests(reset_results, verbose): | 346 def run_bindings_tests(reset_results, verbose): |
| 346 # Generate output into the reference directory if resetting results, or | 347 # Generate output into the reference directory if resetting results, or |
| 347 # a temp directory if not. | 348 # a temp directory if not. |
| 348 if reset_results: | 349 if reset_results: |
| 349 print 'Resetting results' | 350 print 'Resetting results' |
| 350 return bindings_tests(reference_directory, verbose) | 351 return bindings_tests(reference_directory, verbose) |
| 351 with TemporaryDirectory() as temp_dir: | 352 with TemporaryDirectory() as temp_dir: |
| 352 return bindings_tests(temp_dir, verbose) | 353 return bindings_tests(temp_dir, verbose) |
| OLD | NEW |