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

Unified Diff: test/test262/testcfg.py

Issue 2595403002: test262 roll (Closed)
Patch Set: Rebase Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/test262/test262.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/test262/testcfg.py
diff --git a/test/test262/testcfg.py b/test/test262/testcfg.py
index 6319feb13c2e0a23006d45669f05077c7ff8655c..d8123968fca0578e35855b0192e580944322656f 100644
--- a/test/test262/testcfg.py
+++ b/test/test262/testcfg.py
@@ -194,8 +194,9 @@ class Test262TestSuite(testsuite.TestSuite):
test_record = self.GetTestRecord(testcase)
if output.exit_code != 0:
return True
- if "negative" in test_record:
- if self._ParseException(output.stdout) != test_record["negative"]:
+ if "negative" in test_record and \
+ "type" in test_record["negative"] and \
+ self._ParseException(output.stdout) != test_record["negative"]["type"]:
return True
return "FAILED!" in output.stdout
« no previous file with comments | « test/test262/test262.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698