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 25 matching lines...) Expand all Loading... |
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 'TestCustomAccessors.idl', | 45 'TestCustomAccessors.idl', |
46 'TestEvent.idl', | |
47 'TestEventTarget.idl', | 46 'TestEventTarget.idl', |
48 'TestException.idl', | 47 'TestException.idl', |
49 'TestExtendedEvent.idl', | |
50 'TestImplements.idl', | 48 'TestImplements.idl', |
51 'TestInterface.idl', | 49 'TestInterface.idl', |
52 'TestInterfaceImplementedAs.idl', | 50 'TestInterfaceImplementedAs.idl', |
53 'TestNamedConstructor.idl', | 51 'TestNamedConstructor.idl', |
54 'TestNode.idl', | 52 'TestNode.idl', |
55 'TestObject.idl', | 53 'TestObject.idl', |
56 'TestOverloadedConstructors.idl', | 54 'TestOverloadedConstructors.idl', |
57 'TestPartialInterface.idl', | 55 'TestPartialInterface.idl', |
58 'TestTypedefs.idl', | 56 'TestTypedefs.idl', |
59 ]) | 57 ]) |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 284 |
287 all_tests_passed = self.run_tests() | 285 all_tests_passed = self.run_tests() |
288 if all_tests_passed: | 286 if all_tests_passed: |
289 if self.verbose: | 287 if self.verbose: |
290 print | 288 print |
291 print PASS_MESSAGE | 289 print PASS_MESSAGE |
292 return 0 | 290 return 0 |
293 print | 291 print |
294 print FAIL_MESSAGE | 292 print FAIL_MESSAGE |
295 return -1 | 293 return -1 |
OLD | NEW |