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

Side by Side Diff: tools/testrunner/local/utils.py

Issue 148293020: Merge experimental/a64 to bleeding_edge. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove ARM from OWNERS Created 6 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 | « tools/testrunner/local/statusfile.py ('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 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 return 'solaris' 74 return 'solaris'
75 elif system == 'NetBSD': 75 elif system == 'NetBSD':
76 return 'netbsd' 76 return 'netbsd'
77 else: 77 else:
78 return None 78 return None
79 79
80 80
81 def UseSimulator(arch): 81 def UseSimulator(arch):
82 machine = platform.machine() 82 machine = platform.machine()
83 return (machine and 83 return (machine and
84 (arch == "mipsel" or arch == "arm") and 84 (arch == "mipsel" or arch == "arm" or arch == "a64") and
85 not arch.startswith(machine)) 85 not arch.startswith(machine))
86 86
87 87
88 # This will default to building the 32 bit VM even on machines that are 88 # This will default to building the 32 bit VM even on machines that are
89 # capable of running the 64 bit VM. 89 # capable of running the 64 bit VM.
90 def DefaultArch(): 90 def DefaultArch():
91 machine = platform.machine() 91 machine = platform.machine()
92 machine = machine.lower() # Windows 7 capitalizes 'AMD64'. 92 machine = machine.lower() # Windows 7 capitalizes 'AMD64'.
93 if machine.startswith('arm'): 93 if machine.startswith('arm'):
94 return 'arm' 94 return 'arm'
(...skipping 11 matching lines...) Expand all
106 106
107 def GuessWordsize(): 107 def GuessWordsize():
108 if '64' in platform.machine(): 108 if '64' in platform.machine():
109 return '64' 109 return '64'
110 else: 110 else:
111 return '32' 111 return '32'
112 112
113 113
114 def IsWindows(): 114 def IsWindows():
115 return GuessOS() == 'windows' 115 return GuessOS() == 'windows'
OLDNEW
« no previous file with comments | « tools/testrunner/local/statusfile.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698