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

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

Issue 22715004: Version 3.20.15 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Add TypedArray API and correctness patches r16033 and r16084 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'
41 # These are just for the status files and are mapped below in DEFS: 40 # These are just for the status files and are mapped below in DEFS:
42 FAIL_OK = 'FAIL_OK' 41 FAIL_OK = 'FAIL_OK'
43 PASS_OR_FAIL = 'PASS_OR_FAIL' 42 PASS_OR_FAIL = 'PASS_OR_FAIL'
44 43
45 KEYWORDS = {SKIP: SKIP, 44 KEYWORDS = {SKIP: SKIP,
46 FAIL: FAIL, 45 FAIL: FAIL,
47 PASS: PASS, 46 PASS: PASS,
48 OKAY: OKAY, 47 OKAY: OKAY,
49 TIMEOUT: TIMEOUT, 48 TIMEOUT: TIMEOUT,
50 CRASH: CRASH, 49 CRASH: CRASH,
51 SLOW: SLOW, 50 SLOW: SLOW,
52 FLAKY: FLAKY,
53 FAIL_OK: FAIL_OK, 51 FAIL_OK: FAIL_OK,
54 PASS_OR_FAIL: PASS_OR_FAIL} 52 PASS_OR_FAIL: PASS_OR_FAIL}
55 53
56 class Expression(object): 54 class Expression(object):
57 pass 55 pass
58 56
59 57
60 class Constant(Expression): 58 class Constant(Expression):
61 59
62 def __init__(self, value): 60 def __init__(self, value):
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 continue 451 continue
454 prefix_match = PREFIX_PATTERN.match(line) 452 prefix_match = PREFIX_PATTERN.match(line)
455 if prefix_match: 453 if prefix_match:
456 continue 454 continue
457 print "Malformed line: '%s'." % line 455 print "Malformed line: '%s'." % line
458 self.CloseSection() 456 self.CloseSection()
459 self.CloseGlobal() 457 self.CloseGlobal()
460 result = self.out.getvalue() 458 result = self.out.getvalue()
461 self.out.close() 459 self.out.close()
462 return result 460 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