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

Unified Diff: test/mozilla/testcfg.py

Issue 1766503002: Make test262 test runner check for which exception is thrown (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Better factoring Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/message/testcfg.py ('k') | test/promises-aplus/testcfg.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mozilla/testcfg.py
diff --git a/test/mozilla/testcfg.py b/test/mozilla/testcfg.py
index 5739391102fc3abae1aec474c2cc45e1255a863b..0eb32c87bd13f5400703c7be23d72ea31c9798bd 100644
--- a/test/mozilla/testcfg.py
+++ b/test/mozilla/testcfg.py
@@ -107,10 +107,10 @@ class MozillaTestSuite(testsuite.TestSuite):
def IsNegativeTest(self, testcase):
return testcase.path.endswith("-n")
- def IsFailureOutput(self, output, testpath):
- if output.exit_code != 0:
+ def IsFailureOutput(self, testcase):
+ if testcase.output.exit_code != 0:
return True
- return "FAILED!" in output.stdout
+ return "FAILED!" in testcase.output.stdout
def DownloadData(self):
print "Mozilla download is deprecated. It's part of DEPS."
« no previous file with comments | « test/message/testcfg.py ('k') | test/promises-aplus/testcfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698