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

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

Issue 13638013: Modifications to tests and test tools for Native Client V8. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Disable a test Created 7 years, 8 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 "--nofold-constants", "--enable-slow-asserts", 61 "--nofold-constants", "--enable-slow-asserts",
62 "--debug-code", "--verify-heap"], 62 "--debug-code", "--verify-heap"],
63 "release" : ["--nobreak-on-abort", "--nodead-code-elimination", 63 "release" : ["--nobreak-on-abort", "--nodead-code-elimination",
64 "--nofold-constants"]} 64 "--nofold-constants"]}
65 65
66 SUPPORTED_ARCHS = ["android_arm", 66 SUPPORTED_ARCHS = ["android_arm",
67 "android_ia32", 67 "android_ia32",
68 "arm", 68 "arm",
69 "ia32", 69 "ia32",
70 "mipsel", 70 "mipsel",
71 "nacl_ia32",
72 "nacl_x64",
71 "x64"] 73 "x64"]
72 # Double the timeout for these: 74 # Double the timeout for these:
73 SLOW_ARCHS = ["android_arm", 75 SLOW_ARCHS = ["android_arm",
74 "android_ia32", 76 "android_ia32",
75 "arm", 77 "arm",
76 "mipsel"] 78 "mipsel",
79 "nacl_ia32",
80 "nacl_x64"]
77 81
78 82
79 def BuildOptions(): 83 def BuildOptions():
80 result = optparse.OptionParser() 84 result = optparse.OptionParser()
81 result.add_option("--arch", 85 result.add_option("--arch",
82 help=("The architecture to run tests for, " 86 help=("The architecture to run tests for, "
83 "'auto' or 'native' for auto-detect"), 87 "'auto' or 'native' for auto-detect"),
84 default="ia32,x64,arm") 88 default="ia32,x64,arm")
85 result.add_option("--arch-and-mode", 89 result.add_option("--arch-and-mode",
86 help="Architecture and mode in the format 'arch.mode'", 90 help="Architecture and mode in the format 'arch.mode'",
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 except KeyboardInterrupt: 369 except KeyboardInterrupt:
366 return 1 370 return 1
367 371
368 if options.time: 372 if options.time:
369 verbose.PrintTestDurations(suites, overall_duration) 373 verbose.PrintTestDurations(suites, overall_duration)
370 return exit_code 374 return exit_code
371 375
372 376
373 if __name__ == "__main__": 377 if __name__ == "__main__":
374 sys.exit(Main()) 378 sys.exit(Main())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698