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

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

Issue 22381003: Add flaky test classification feature to test suites. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review Created 7 years, 4 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/run-tests.py ('k') | tools/testrunner/local/statusfile.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 # 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 19 matching lines...) Expand all
30 import re 30 import re
31 31
32 # These outcomes can occur in a TestCase's outcomes list: 32 # These outcomes can occur in a TestCase's outcomes list:
33 SKIP = 'SKIP' 33 SKIP = 'SKIP'
34 FAIL = 'FAIL' 34 FAIL = 'FAIL'
35 PASS = 'PASS' 35 PASS = 'PASS'
36 OKAY = 'OKAY' 36 OKAY = 'OKAY'
37 TIMEOUT = 'TIMEOUT' 37 TIMEOUT = 'TIMEOUT'
38 CRASH = 'CRASH' 38 CRASH = 'CRASH'
39 SLOW = 'SLOW' 39 SLOW = 'SLOW'
40 FLAKY = 'FLAKY'
40 # These are just for the status files and are mapped below in DEFS: 41 # These are just for the status files and are mapped below in DEFS:
41 FAIL_OK = 'FAIL_OK' 42 FAIL_OK = 'FAIL_OK'
42 PASS_OR_FAIL = 'PASS_OR_FAIL' 43 PASS_OR_FAIL = 'PASS_OR_FAIL'
43 44
44 KEYWORDS = {SKIP: SKIP, 45 KEYWORDS = {SKIP: SKIP,
45 FAIL: FAIL, 46 FAIL: FAIL,
46 PASS: PASS, 47 PASS: PASS,
47 OKAY: OKAY, 48 OKAY: OKAY,
48 TIMEOUT: TIMEOUT, 49 TIMEOUT: TIMEOUT,
49 CRASH: CRASH, 50 CRASH: CRASH,
50 SLOW: SLOW, 51 SLOW: SLOW,
52 FLAKY: FLAKY,
51 FAIL_OK: FAIL_OK, 53 FAIL_OK: FAIL_OK,
52 PASS_OR_FAIL: PASS_OR_FAIL} 54 PASS_OR_FAIL: PASS_OR_FAIL}
53 55
54 class Expression(object): 56 class Expression(object):
55 pass 57 pass
56 58
57 59
58 class Constant(Expression): 60 class Constant(Expression):
59 61
60 def __init__(self, value): 62 def __init__(self, value):
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 continue 453 continue
452 prefix_match = PREFIX_PATTERN.match(line) 454 prefix_match = PREFIX_PATTERN.match(line)
453 if prefix_match: 455 if prefix_match:
454 continue 456 continue
455 print "Malformed line: '%s'." % line 457 print "Malformed line: '%s'." % line
456 self.CloseSection() 458 self.CloseSection()
457 self.CloseGlobal() 459 self.CloseGlobal()
458 result = self.out.getvalue() 460 result = self.out.getvalue()
459 self.out.close() 461 self.out.close()
460 return result 462 return result
OLDNEW
« no previous file with comments | « tools/run-tests.py ('k') | tools/testrunner/local/statusfile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698