| 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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 If the failures are not due to your changes, test results may be out of sync; | 36 If the failures are not due to your changes, test results may be out of sync; |
| 37 please rebaseline them in a separate CL, after checking that tests fail in ToT. | 37 please rebaseline them in a separate CL, after checking that tests fail in ToT. |
| 38 In CL, please set: | 38 In CL, please set: |
| 39 NOTRY=true | 39 NOTRY=true |
| 40 TBR=(someone in Source/bindings/OWNERS or WATCHLISTS:bindings) | 40 TBR=(someone in Source/bindings/OWNERS or WATCHLISTS:bindings) |
| 41 """ | 41 """ |
| 42 | 42 |
| 43 # Python compiler is incomplete; skip IDLs with unimplemented features | 43 # Python compiler is incomplete; skip IDLs with unimplemented features |
| 44 SKIP_PYTHON = set([ | 44 SKIP_PYTHON = set([ |
| 45 'TestActiveDOMObject.idl', | 45 'TestCheckSecurityInterface.idl', |
| 46 'TestCustomAccessors.idl', | 46 'TestCustomAccessors.idl', |
| 47 'TestEvent.idl', | 47 'TestEvent.idl', |
| 48 'TestEventConstructor.idl', | 48 'TestEventConstructor.idl', |
| 49 'TestEventTarget.idl', | 49 'TestEventTarget.idl', |
| 50 'TestException.idl', | 50 'TestException.idl', |
| 51 'TestExtendedEvent.idl', | 51 'TestExtendedEvent.idl', |
| 52 'TestImplements.idl', | 52 'TestImplements.idl', |
| 53 'TestInterface.idl', | 53 'TestInterface.idl', |
| 54 'TestInterfaceImplementedAs.idl', | 54 'TestInterfaceImplementedAs.idl', |
| 55 'TestMediaQueryListListener.idl', | 55 'TestMediaQueryListListener.idl', |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 278 |
| 279 all_tests_passed = self.run_tests() | 279 all_tests_passed = self.run_tests() |
| 280 if all_tests_passed: | 280 if all_tests_passed: |
| 281 if self.verbose: | 281 if self.verbose: |
| 282 print | 282 print |
| 283 print PASS_MESSAGE | 283 print PASS_MESSAGE |
| 284 return 0 | 284 return 0 |
| 285 print | 285 print |
| 286 print FAIL_MESSAGE | 286 print FAIL_MESSAGE |
| 287 return -1 | 287 return -1 |
| OLD | NEW |