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

Side by Side Diff: tools/run-tests.py

Issue 677153004: New test variant for --cache=parse (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: Created 6 years, 1 month 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 | « src/d8.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 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 TIMEOUT_DEFAULT = 60 82 TIMEOUT_DEFAULT = 60
83 TIMEOUT_SCALEFACTOR = {"debug" : 4, 83 TIMEOUT_SCALEFACTOR = {"debug" : 4,
84 "release" : 1 } 84 "release" : 1 }
85 85
86 # Use this to run several variants of the tests. 86 # Use this to run several variants of the tests.
87 VARIANT_FLAGS = { 87 VARIANT_FLAGS = {
88 "default": [], 88 "default": [],
89 "stress": ["--stress-opt", "--always-opt"], 89 "stress": ["--stress-opt", "--always-opt"],
90 "turbofan": ["--turbo-asm", "--turbo-filter=*", "--always-opt"], 90 "turbofan": ["--turbo-asm", "--turbo-filter=*", "--always-opt"],
91 "nocrankshaft": ["--nocrankshaft"]} 91 "nocrankshaft": ["--nocrankshaft"],
92 "parsercache": ["--cache=parse"]}
92 93
93 VARIANTS = ["default", "stress", "turbofan", "nocrankshaft"] 94 VARIANTS = ["default", "stress", "turbofan", "nocrankshaft", "parsercache"]
94 95
95 MODE_FLAGS = { 96 MODE_FLAGS = {
96 "debug" : ["--nohard-abort", "--nodead-code-elimination", 97 "debug" : ["--nohard-abort", "--nodead-code-elimination",
97 "--nofold-constants", "--enable-slow-asserts", 98 "--nofold-constants", "--enable-slow-asserts",
98 "--debug-code", "--verify-heap"], 99 "--debug-code", "--verify-heap"],
99 "release" : ["--nohard-abort", "--nodead-code-elimination", 100 "release" : ["--nohard-abort", "--nodead-code-elimination",
100 "--nofold-constants"]} 101 "--nofold-constants"]}
101 102
102 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction", 103 GC_STRESS_FLAGS = ["--gc-interval=500", "--stress-compaction",
103 "--concurrent-recompilation-queue-length=64", 104 "--concurrent-recompilation-queue-length=64",
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 exit_code = runner.Run(options.j) 587 exit_code = runner.Run(options.j)
587 overall_duration = time.time() - start_time 588 overall_duration = time.time() - start_time
588 589
589 if options.time: 590 if options.time:
590 verbose.PrintTestDurations(suites, overall_duration) 591 verbose.PrintTestDurations(suites, overall_duration)
591 return exit_code 592 return exit_code
592 593
593 594
594 if __name__ == "__main__": 595 if __name__ == "__main__":
595 sys.exit(Main()) 596 sys.exit(Main())
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698