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

Side by Side Diff: tools/run-deopt-fuzzer.py

Issue 2141013002: [test] Remove NaCl support from test runner harness. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « test/webkit/testcfg.py ('k') | tools/run-tests.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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 SUPPORTED_ARCHS = ["android_arm", 68 SUPPORTED_ARCHS = ["android_arm",
69 "android_ia32", 69 "android_ia32",
70 "arm", 70 "arm",
71 "ia32", 71 "ia32",
72 "ppc", 72 "ppc",
73 "ppc64", 73 "ppc64",
74 "s390", 74 "s390",
75 "s390x", 75 "s390x",
76 "mipsel", 76 "mipsel",
77 "nacl_ia32",
78 "nacl_x64",
79 "x64"] 77 "x64"]
80 # Double the timeout for these: 78 # Double the timeout for these:
81 SLOW_ARCHS = ["android_arm", 79 SLOW_ARCHS = ["android_arm",
82 "android_ia32", 80 "android_ia32",
83 "arm", 81 "arm",
84 "mipsel", 82 "mipsel"]
85 "nacl_ia32",
86 "nacl_x64"]
87 MAX_DEOPT = 1000000000 83 MAX_DEOPT = 1000000000
88 DISTRIBUTION_MODES = ["smooth", "random"] 84 DISTRIBUTION_MODES = ["smooth", "random"]
89 85
90 86
91 class RandomDistribution: 87 class RandomDistribution:
92 def __init__(self, seed=None): 88 def __init__(self, seed=None):
93 seed = seed or random.randint(1, sys.maxint) 89 seed = seed or random.randint(1, sys.maxint)
94 print "Using random distribution with seed %d" % seed 90 print "Using random distribution with seed %d" % seed
95 self._random = random.Random(seed) 91 self._random = random.Random(seed)
96 92
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests) 486 print(">>> Deopt fuzzing phase (%d test cases)" % num_tests)
491 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]() 487 progress_indicator = progress.PROGRESS_INDICATORS[options.progress]()
492 runner = execution.Runner(suites, progress_indicator, ctx) 488 runner = execution.Runner(suites, progress_indicator, ctx)
493 489
494 code = runner.Run(options.j) 490 code = runner.Run(options.j)
495 return exit_code or code 491 return exit_code or code
496 492
497 493
498 if __name__ == "__main__": 494 if __name__ == "__main__":
499 sys.exit(Main()) 495 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/webkit/testcfg.py ('k') | tools/run-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698