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

Side by Side Diff: tools/test.py

Issue 149608: Copy of issue 155346: Change test status for x64, make test.py pass --arch to Scons. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 | Annotate | Revision Log
« test/cctest/cctest.status ('K') | « test/mjsunit/mjsunit.status ('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 2008 the V8 project authors. All rights reserved. 3 # Copyright 2008 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 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 else: 1129 else:
1130 print "Architecture %s does not match sim %s" %(options.arch, options.si mulator) 1130 print "Architecture %s does not match sim %s" %(options.arch, options.si mulator)
1131 return False 1131 return False
1132 # Ensure that the simulator argument is handed down to scons. 1132 # Ensure that the simulator argument is handed down to scons.
1133 options.scons_flags.append("simulator=" + options.simulator) 1133 options.scons_flags.append("simulator=" + options.simulator)
1134 else: 1134 else:
1135 # If options.arch is not set by the command line and no simulator setting 1135 # If options.arch is not set by the command line and no simulator setting
1136 # was found, set the arch to the guess. 1136 # was found, set the arch to the guess.
1137 if options.arch == 'none': 1137 if options.arch == 'none':
1138 options.arch = ARCH_GUESS 1138 options.arch = ARCH_GUESS
1139 options.scons_flags.append("arch=" + options.arch)
1139 return True 1140 return True
1140 1141
1141 1142
1142 REPORT_TEMPLATE = """\ 1143 REPORT_TEMPLATE = """\
1143 Total: %(total)i tests 1144 Total: %(total)i tests
1144 * %(skipped)4d tests will be skipped 1145 * %(skipped)4d tests will be skipped
1145 * %(nocrash)4d tests are expected to be flaky but not crash 1146 * %(nocrash)4d tests are expected to be flaky but not crash
1146 * %(pass)4d tests are expected to pass 1147 * %(pass)4d tests are expected to pass
1147 * %(fail_ok)4d tests are expected to fail that we won't fix 1148 * %(fail_ok)4d tests are expected to fail that we won't fix
1148 * %(fail)4d tests are expected to fail that we should fix\ 1149 * %(fail)4d tests are expected to fail that we should fix\
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 for entry in timed_tests[:20]: 1340 for entry in timed_tests[:20]:
1340 t = FormatTime(entry.duration) 1341 t = FormatTime(entry.duration)
1341 sys.stderr.write("%4i (%s) %s\n" % (index, t, entry.GetLabel())) 1342 sys.stderr.write("%4i (%s) %s\n" % (index, t, entry.GetLabel()))
1342 index += 1 1343 index += 1
1343 1344
1344 return result 1345 return result
1345 1346
1346 1347
1347 if __name__ == '__main__': 1348 if __name__ == '__main__':
1348 sys.exit(Main()) 1349 sys.exit(Main())
OLDNEW
« test/cctest/cctest.status ('K') | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698