| 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 """ | 62 """ |
| 63 | 63 |
| 64 DEPENDENCY_IDL_FILES = frozenset([ | 64 DEPENDENCY_IDL_FILES = frozenset([ |
| 65 'TestImplements.idl', | 65 'TestImplements.idl', |
| 66 'TestImplements2.idl', | 66 'TestImplements2.idl', |
| 67 'TestImplements3.idl', | 67 'TestImplements3.idl', |
| 68 'TestInterfacePartial.idl', | 68 'TestInterfacePartial.idl', |
| 69 'TestInterfacePartial2.idl', | 69 'TestInterfacePartial2.idl', |
| 70 'TestInterfacePartial3.idl', | 70 'TestInterfacePartial3.idl', |
| 71 'TestInterfacePartial4.idl', | 71 'TestInterfacePartial4.idl', |
| 72 'TestInterfacePartialSecureContext.idl', |
| 72 'TestInterface2Partial.idl', | 73 'TestInterface2Partial.idl', |
| 73 'TestInterface2Partial2.idl', | 74 'TestInterface2Partial2.idl', |
| 74 ]) | 75 ]) |
| 75 | 76 |
| 76 # core/inspector/InspectorInstrumentation.idl is not a valid Blink IDL. | 77 # core/inspector/InspectorInstrumentation.idl is not a valid Blink IDL. |
| 77 NON_BLINK_IDL_FILES = frozenset([ | 78 NON_BLINK_IDL_FILES = frozenset([ |
| 78 'InspectorInstrumentation.idl', | 79 'InspectorInstrumentation.idl', |
| 79 ]) | 80 ]) |
| 80 | 81 |
| 81 COMPONENT_DIRECTORY = frozenset(['core', 'modules']) | 82 COMPONENT_DIRECTORY = frozenset(['core', 'modules']) |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 | 347 |
| 347 | 348 |
| 348 def run_bindings_tests(reset_results, verbose): | 349 def run_bindings_tests(reset_results, verbose): |
| 349 # Generate output into the reference directory if resetting results, or | 350 # Generate output into the reference directory if resetting results, or |
| 350 # a temp directory if not. | 351 # a temp directory if not. |
| 351 if reset_results: | 352 if reset_results: |
| 352 print 'Resetting results' | 353 print 'Resetting results' |
| 353 return bindings_tests(reference_directory, verbose) | 354 return bindings_tests(reference_directory, verbose) |
| 354 with TemporaryDirectory() as temp_dir: | 355 with TemporaryDirectory() as temp_dir: |
| 355 return bindings_tests(temp_dir, verbose) | 356 return bindings_tests(temp_dir, verbose) |
| OLD | NEW |