Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Side by Side Diff: ppapi/generators/idl_tests.py

Issue 98343005: Pepper: More IDL generator cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for json_schema_compiler Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/generators/idl_parser.py ('k') | ppapi/generators/test_lex.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """ Test runner for IDL Generator changes """ 6 """ Test runner for IDL Generator changes """
7 7
8 import subprocess 8 import subprocess
9 import sys 9 import sys
10 10
(...skipping 12 matching lines...) Expand all
23 errors += TestIDL('idl_lexer.py', ['--test']) 23 errors += TestIDL('idl_lexer.py', ['--test'])
24 assert errors == 0 24 assert errors == 0
25 errors += TestIDL('idl_parser.py', ['--test']) 25 errors += TestIDL('idl_parser.py', ['--test'])
26 assert errors == 0 26 assert errors == 0
27 errors += TestIDL('idl_c_header.py', []) 27 errors += TestIDL('idl_c_header.py', [])
28 assert errors == 0 28 assert errors == 0
29 errors += TestIDL('idl_c_proto.py', ['--wnone', '--test']) 29 errors += TestIDL('idl_c_proto.py', ['--wnone', '--test'])
30 assert errors == 0 30 assert errors == 0
31 errors += TestIDL('idl_gen_pnacl.py', ['--wnone', '--test']) 31 errors += TestIDL('idl_gen_pnacl.py', ['--wnone', '--test'])
32 assert errors == 0 32 assert errors == 0
33 errors += TestIDL('idl_namespace.py', [])
34 assert errors == 0
35 errors += TestIDL('idl_node.py', [])
36 assert errors == 0
33 37
34 if errors: 38 if errors:
35 print '\nFailed tests.' 39 print '\nFailed tests.'
36 return errors 40 return errors
37 41
38 42
39 if __name__ == '__main__': 43 if __name__ == '__main__':
40 sys.exit(main(sys.argv[1:])) 44 sys.exit(main(sys.argv[1:]))
41 45
OLDNEW
« no previous file with comments | « ppapi/generators/idl_parser.py ('k') | ppapi/generators/test_lex.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698