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

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

Issue 102133002: Experimental scanner: restore the MODE_FLAGS for tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years 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 | « no previous file | 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 ARCH_GUESS = utils.DefaultArch() 49 ARCH_GUESS = utils.DefaultArch()
50 DEFAULT_TESTS = ["lexer", "mjsunit", "cctest"] 50 DEFAULT_TESTS = ["lexer", "mjsunit", "cctest"]
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 MODE_FLAGS = { 57 MODE_FLAGS = {
58 "debug" : [], 58 "debug" : ["--nobreak-on-abort", "--nodead-code-elimination",
59 "release" : []} 59 "--nofold-constants", "--enable-slow-asserts",
60 "--debug-code", "--verify-heap"],
61 "release" : ["--nobreak-on-abort", "--nodead-code-elimination",
62 "--nofold-constants"]}
60 63
61 SUPPORTED_ARCHS = ["android_arm", 64 SUPPORTED_ARCHS = ["android_arm",
62 "android_ia32", 65 "android_ia32",
63 "arm", 66 "arm",
64 "ia32", 67 "ia32",
65 "mipsel", 68 "mipsel",
66 "nacl_ia32", 69 "nacl_ia32",
67 "nacl_x64", 70 "nacl_x64",
68 "x64"] 71 "x64"]
69 # Double the timeout for these: 72 # Double the timeout for these:
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 except KeyboardInterrupt: 400 except KeyboardInterrupt:
398 return 1 401 return 1
399 402
400 if options.time: 403 if options.time:
401 verbose.PrintTestDurations(suites, overall_duration) 404 verbose.PrintTestDurations(suites, overall_duration)
402 return exit_code 405 return exit_code
403 406
404 407
405 if __name__ == "__main__": 408 if __name__ == "__main__":
406 sys.exit(Main()) 409 sys.exit(Main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698