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

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

Issue 49633004: Add --optimize_for_size to tests flag matrix. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « test/cctest/cctest.h ('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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 48
49 ARCH_GUESS = utils.DefaultArch() 49 ARCH_GUESS = utils.DefaultArch()
50 DEFAULT_TESTS = ["mjsunit", "cctest", "message", "preparser"] 50 DEFAULT_TESTS = ["mjsunit", "cctest", "message", "preparser"]
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 ["--optimize-for-size"],
Sven Panne 2013/10/29 12:43:31 I am not sure if this is the right way to proceed,
rmcilroy 2013/10/29 14:02:55 I realize this will increase test time by about 25
57 ["--stress-opt", "--always-opt"], 58 ["--stress-opt", "--always-opt"],
58 ["--nocrankshaft"]] 59 ["--nocrankshaft"]]
59 MODE_FLAGS = { 60 MODE_FLAGS = {
60 "debug" : ["--nobreak-on-abort", "--nodead-code-elimination", 61 "debug" : ["--nobreak-on-abort", "--nodead-code-elimination",
61 "--nofold-constants", "--enable-slow-asserts", 62 "--nofold-constants", "--enable-slow-asserts",
62 "--debug-code", "--verify-heap"], 63 "--debug-code", "--verify-heap"],
63 "release" : ["--nobreak-on-abort", "--nodead-code-elimination", 64 "release" : ["--nobreak-on-abort", "--nodead-code-elimination",
64 "--nofold-constants"]} 65 "--nofold-constants"]}
65 66
66 SUPPORTED_ARCHS = ["android_arm", 67 SUPPORTED_ARCHS = ["android_arm",
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 except KeyboardInterrupt: 392 except KeyboardInterrupt:
392 return 1 393 return 1
393 394
394 if options.time: 395 if options.time:
395 verbose.PrintTestDurations(suites, overall_duration) 396 verbose.PrintTestDurations(suites, overall_duration)
396 return exit_code 397 return exit_code
397 398
398 399
399 if __name__ == "__main__": 400 if __name__ == "__main__":
400 sys.exit(Main()) 401 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/cctest/cctest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698