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

Side by Side Diff: tools/presubmit.py

Issue 1094043002: [mjsunit] Import test case based on the Massive/SQLite benchmark. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months 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
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | 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 # 2 #
3 # Copyright 2012 the V8 project authors. All rights reserved. 3 # Copyright 2012 the V8 project authors. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 'fannkuch.js', 337 'fannkuch.js',
338 'fasta.js', 338 'fasta.js',
339 'jsmin.py', 339 'jsmin.py',
340 'libraries.cc', 340 'libraries.cc',
341 'libraries-empty.cc', 341 'libraries-empty.cc',
342 'lua_binarytrees.js', 342 'lua_binarytrees.js',
343 'memops.js', 343 'memops.js',
344 'primes.js', 344 'primes.js',
345 'raytrace.js', 345 'raytrace.js',
346 'regexp-pcre.js', 346 'regexp-pcre.js',
347 'sqlite.js',
347 'gnuplot-4.6.3-emscripten.js', 348 'gnuplot-4.6.3-emscripten.js',
348 'zlib.js'] 349 'zlib.js']
349 IGNORE_TABS = IGNORE_COPYRIGHTS + ['unicode-test.js', 'html-comments.js'] 350 IGNORE_TABS = IGNORE_COPYRIGHTS + ['unicode-test.js', 'html-comments.js']
350 351
351 def EndOfDeclaration(self, line): 352 def EndOfDeclaration(self, line):
352 return line == "}" or line == "};" 353 return line == "}" or line == "};"
353 354
354 def StartOfDeclaration(self, line): 355 def StartOfDeclaration(self, line):
355 return line.find("//") == 0 or \ 356 return line.find("//") == 0 or \
356 line.find("/*") == 0 or \ 357 line.find("/*") == 0 or \
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 success = CheckRuntimeVsNativesNameClashes(workspace) and success 488 success = CheckRuntimeVsNativesNameClashes(workspace) and success
488 success = CheckExternalReferenceRegistration(workspace) and success 489 success = CheckExternalReferenceRegistration(workspace) and success
489 if success: 490 if success:
490 return 0 491 return 0
491 else: 492 else:
492 return 1 493 return 1
493 494
494 495
495 if __name__ == '__main__': 496 if __name__ == '__main__':
496 sys.exit(Main()) 497 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698