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

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

Issue 12315005: Constant fold math and string operations. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: made ctors private Created 7 years, 10 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/mjsunit/constant-folding-2.js ('k') | tools/test.py » ('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 # 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 TIMEOUT_DEFAULT = 60 51 TIMEOUT_DEFAULT = 60
52 TIMEOUT_SCALEFACTOR = {"debug" : 4, 52 TIMEOUT_SCALEFACTOR = {"debug" : 4,
53 "release" : 1 } 53 "release" : 1 }
54 54
55 # Use this to run several variants of the tests. 55 # Use this to run several variants of the tests.
56 VARIANT_FLAGS = [[], 56 VARIANT_FLAGS = [[],
57 ["--stress-opt", "--always-opt"], 57 ["--stress-opt", "--always-opt"],
58 ["--nocrankshaft"]] 58 ["--nocrankshaft"]]
59 MODE_FLAGS = { 59 MODE_FLAGS = {
60 "debug" : ["--nobreak-on-abort", "--nodead-code-elimination", 60 "debug" : ["--nobreak-on-abort", "--nodead-code-elimination",
61 "--enable-slow-asserts", "--debug-code", "--verify-heap"], 61 "--nofold-constants", "--enable-slow-asserts",
62 "release" : ["--nobreak-on-abort", "--nodead-code-elimination"]} 62 "--debug-code", "--verify-heap"],
63 "release" : ["--nobreak-on-abort", "--nodead-code-elimination",
64 "--nofold-constants"]}
63 65
64 SUPPORTED_ARCHS = ["android_arm", 66 SUPPORTED_ARCHS = ["android_arm",
65 "android_ia32", 67 "android_ia32",
66 "arm", 68 "arm",
67 "ia32", 69 "ia32",
68 "mipsel", 70 "mipsel",
69 "x64"] 71 "x64"]
70 # Double the timeout for these: 72 # Double the timeout for these:
71 SLOW_ARCHS = ["android_arm", 73 SLOW_ARCHS = ["android_arm",
72 "android_ia32", 74 "android_ia32",
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 except KeyboardInterrupt: 365 except KeyboardInterrupt:
364 return 1 366 return 1
365 367
366 if options.time: 368 if options.time:
367 verbose.PrintTestDurations(suites, overall_duration) 369 verbose.PrintTestDurations(suites, overall_duration)
368 return exit_code 370 return exit_code
369 371
370 372
371 if __name__ == "__main__": 373 if __name__ == "__main__":
372 sys.exit(Main()) 374 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/mjsunit/constant-folding-2.js ('k') | tools/test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698