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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 'TestImplements.idl', | 47 'TestImplements.idl', |
48 'TestImplements2.idl', | 48 'TestImplements2.idl', |
49 'TestImplements3.idl', | 49 'TestImplements3.idl', |
50 'TestPartialInterface.idl', | 50 'TestPartialInterface.idl', |
51 'TestPartialInterfacePython.idl', | 51 'TestPartialInterfacePython.idl', |
52 'TestPartialInterfacePython2.idl', | 52 'TestPartialInterfacePython2.idl', |
53 ]) | 53 ]) |
54 | 54 |
55 # Python compiler is incomplete; skip IDLs with unimplemented features | 55 # Python compiler is incomplete; skip IDLs with unimplemented features |
56 SKIP_PYTHON = set([ | 56 SKIP_PYTHON = set([ |
57 'TestEventTarget.idl', | |
58 'TestInterface.idl', | 57 'TestInterface.idl', |
59 'TestObject.idl', | 58 'TestObject.idl', |
60 'TestSVG.idl', | 59 'TestSVG.idl', |
61 ]) | 60 ]) |
62 | 61 |
63 all_input_directory = '.' # Relative to Source/ | 62 all_input_directory = '.' # Relative to Source/ |
64 test_input_directory = os.path.join('bindings', 'tests', 'idls') | 63 test_input_directory = os.path.join('bindings', 'tests', 'idls') |
65 reference_directory = os.path.join('bindings', 'tests', 'results') | 64 reference_directory = os.path.join('bindings', 'tests', 'results') |
66 reference_event_names_filename = os.path.join(reference_directory, 'EventInterfa
ces.in') | 65 reference_event_names_filename = os.path.join(reference_directory, 'EventInterfa
ces.in') |
67 | 66 |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 | 308 |
310 all_tests_passed = self.run_tests() | 309 all_tests_passed = self.run_tests() |
311 if all_tests_passed: | 310 if all_tests_passed: |
312 if self.verbose: | 311 if self.verbose: |
313 print | 312 print |
314 print PASS_MESSAGE | 313 print PASS_MESSAGE |
315 return 0 | 314 return 0 |
316 print | 315 print |
317 print FAIL_MESSAGE | 316 print FAIL_MESSAGE |
318 return -1 | 317 return -1 |
OLD | NEW |