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

Unified Diff: test/promises-aplus/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/mozilla/testcfg.py ('k') | test/simdjs/testcfg.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/promises-aplus/testcfg.py
diff --git a/test/promises-aplus/testcfg.py b/test/promises-aplus/testcfg.py
index 5f447c3f90a88b2f4863711008acf4876eb826c1..bd80f97a13b7feb0953aa3868d2baf8ecadfe18c 100644
--- a/test/promises-aplus/testcfg.py
+++ b/test/promises-aplus/testcfg.py
@@ -91,11 +91,11 @@ class PromiseAplusTestSuite(testsuite.TestSuite):
def IsNegativeTest(self, testcase):
return '@negative' in self.GetSourceForTest(testcase)
- def IsFailureOutput(self, output, testpath):
- if output.exit_code != 0:
+ def IsFailureOutput(self, testcase):
+ if testcase.output.exit_code != 0:
return True
- return not 'All tests have run.' in output.stdout or \
- 'FAIL:' in output.stdout
+ return not 'All tests have run.' in testcase.output.stdout or \
+ 'FAIL:' in testcase.output.stdout
def DownloadTestData(self):
archive = os.path.join(self.root, TEST_ARCHIVE)
« no previous file with comments | « test/mozilla/testcfg.py ('k') | test/simdjs/testcfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698