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

Side by Side Diff: tools/testing/perf_testing/run_perf_tests.py

Issue 10267016: Skip crashing test on Chrome in Windows. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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 | « 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/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 import datetime 7 import datetime
8 import optparse 8 import optparse
9 import os 9 import os
10 from os.path import dirname, abspath 10 from os.path import dirname, abspath
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 '(': '_', 561 '(': '_',
562 ')': '_', 562 ')': '_',
563 '*': 'ALL', 563 '*': 'ALL',
564 '=': 'ASSIGN', 564 '=': 'ASSIGN',
565 } 565 }
566 for (old, new) in remap.iteritems(): 566 for (old, new) in remap.iteritems():
567 str = str.replace(old, new) 567 str = str.replace(old, new)
568 return str 568 return str
569 569
570 # TODO(vsm): This is a hack to skip breaking tests. Triage this 570 # TODO(vsm): This is a hack to skip breaking tests. Triage this
571 # failure properly. The modify suite fails on 32-bit chrome on 571 # failure properly. The modify suite fails on 32-bit chrome, which
572 # the mac. 572 # is the default on mac and win.
573 @staticmethod 573 @staticmethod
574 def get_valid_dromaeo_tags(): 574 def get_valid_dromaeo_tags():
575 tags = [tag for (tag, _) in DromaeoTester.DROMAEO_BENCHMARKS.values()] 575 tags = [tag for (tag, _) in DromaeoTester.DROMAEO_BENCHMARKS.values()]
576 if platform.system() == 'Darwin': 576 if platform.system() == 'Darwin' or platform.system() == 'Windows':
577 tags.remove('modify') 577 tags.remove('modify')
578 return tags 578 return tags
579 579
580 @staticmethod 580 @staticmethod
581 def get_dromaeo_benchmarks(): 581 def get_dromaeo_benchmarks():
582 valid = DromaeoTester.get_valid_dromaeo_tags() 582 valid = DromaeoTester.get_valid_dromaeo_tags()
583 benchmarks = reduce(lambda l1,l2: l1+l2, 583 benchmarks = reduce(lambda l1,l2: l1+l2,
584 [tests for (tag, tests) in 584 [tests for (tag, tests) in
585 DromaeoTester.DROMAEO_BENCHMARKS.values() 585 DromaeoTester.DROMAEO_BENCHMARKS.values()
586 if tag in valid]) 586 if tag in valid])
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 while True: 938 while True:
939 if runner.has_new_code(): 939 if runner.has_new_code():
940 runner.run_test_sequence() 940 runner.run_test_sequence()
941 else: 941 else:
942 time.sleep(200) 942 time.sleep(200)
943 else: 943 else:
944 runner.run_test_sequence() 944 runner.run_test_sequence()
945 945
946 if __name__ == '__main__': 946 if __name__ == '__main__':
947 main() 947 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