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

Side by Side Diff: tools/test.py

Issue 6771045: Never use classic code generator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments and fix testing Created 9 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 | Annotate | Revision Log
« no previous file with comments | « test/cctest/test-log.cc ('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 2008 the V8 project authors. All rights reserved. 3 # Copyright 2008 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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 577
578 def __init__(self, name): 578 def __init__(self, name):
579 self.name = name 579 self.name = name
580 580
581 def GetName(self): 581 def GetName(self):
582 return self.name 582 return self.name
583 583
584 584
585 # Use this to run several variants of the tests, e.g.: 585 # Use this to run several variants of the tests, e.g.:
586 # VARIANT_FLAGS = [[], ['--always_compact', '--noflush_code']] 586 # VARIANT_FLAGS = [[], ['--always_compact', '--noflush_code']]
587 VARIANT_FLAGS = [[], ['--stress-opt', '--always-opt'], ['--nocrankshaft']] 587 VARIANT_FLAGS = [[],
588 ['--stress-opt', '--always-opt'],
589 ['--always-full-compiler']]
588 590
589 591
590 class TestRepository(TestSuite): 592 class TestRepository(TestSuite):
591 593
592 def __init__(self, path): 594 def __init__(self, path):
593 normalized_path = abspath(path) 595 normalized_path = abspath(path)
594 super(TestRepository, self).__init__(basename(normalized_path)) 596 super(TestRepository, self).__init__(basename(normalized_path))
595 self.path = normalized_path 597 self.path = normalized_path
596 self.is_loaded = False 598 self.is_loaded = False
597 self.config = None 599 self.config = None
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
1479 for entry in timed_tests[:20]: 1481 for entry in timed_tests[:20]:
1480 t = FormatTime(entry.duration) 1482 t = FormatTime(entry.duration)
1481 sys.stderr.write("%4i (%s) %s\n" % (index, t, entry.GetLabel())) 1483 sys.stderr.write("%4i (%s) %s\n" % (index, t, entry.GetLabel()))
1482 index += 1 1484 index += 1
1483 1485
1484 return result 1486 return result
1485 1487
1486 1488
1487 if __name__ == '__main__': 1489 if __name__ == '__main__':
1488 sys.exit(Main()) 1490 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/cctest/test-log.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698