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

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

Issue 13638013: Modifications to tests and test tools for Native Client V8. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Disable a test Created 7 years, 8 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
« test/cctest/cctest.status ('K') | « tools/run-tests.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 for key in [SKIP, FAIL, PASS, OKAY, TIMEOUT, CRASH, SLOW, FAIL_OK, 52 for key in [SKIP, FAIL, PASS, OKAY, TIMEOUT, CRASH, SLOW, FAIL_OK,
53 PASS_OR_FAIL, ALWAYS]: 53 PASS_OR_FAIL, ALWAYS]:
54 KEYWORDS[key] = key 54 KEYWORDS[key] = key
55 55
56 DEFS = {FAIL_OK: [FAIL, OKAY], 56 DEFS = {FAIL_OK: [FAIL, OKAY],
57 PASS_OR_FAIL: [PASS, FAIL]} 57 PASS_OR_FAIL: [PASS, FAIL]}
58 58
59 # Support arches, modes to be written as keywords instead of strings. 59 # Support arches, modes to be written as keywords instead of strings.
60 VARIABLES = {ALWAYS: True} 60 VARIABLES = {ALWAYS: True}
61 for var in ["debug", "release", "android_arm", "android_ia32", "arm", "ia32", 61 for var in ["debug", "release", "android_arm", "android_ia32", "arm", "ia32",
62 "mipsel", "x64"]: 62 "mipsel", "x64", "nacl_ia32", "nacl_x64"]:
63 VARIABLES[var] = var 63 VARIABLES[var] = var
64 64
65 65
66 def DoSkip(outcomes): 66 def DoSkip(outcomes):
67 return SKIP in outcomes or SLOW in outcomes 67 return SKIP in outcomes or SLOW in outcomes
68 68
69 69
70 def IsFlaky(outcomes): 70 def IsFlaky(outcomes):
71 return ((PASS in outcomes) and (FAIL in outcomes) and 71 return ((PASS in outcomes) and (FAIL in outcomes) and
72 (not CRASH in outcomes) and (not OKAY in outcomes)) 72 (not CRASH in outcomes) and (not OKAY in outcomes))
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 if not eval(section[0], variables): continue 136 if not eval(section[0], variables): continue
137 section = section[1] 137 section = section[1]
138 assert type(section) == dict 138 assert type(section) == dict
139 for rule in section: 139 for rule in section:
140 assert type(rule) == str 140 assert type(rule) == str
141 if rule[-1] == '*': 141 if rule[-1] == '*':
142 _ParseOutcomeList(rule, section[rule], wildcards, variables) 142 _ParseOutcomeList(rule, section[rule], wildcards, variables)
143 else: 143 else:
144 _ParseOutcomeList(rule, section[rule], rules, variables) 144 _ParseOutcomeList(rule, section[rule], rules, variables)
145 return rules, wildcards 145 return rules, wildcards
OLDNEW
« test/cctest/cctest.status ('K') | « tools/run-tests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698