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

Unified Diff: test/test262/testcfg.py

Issue 1379093002: [Interpreter]: Add ignition variant to test runner. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | tools/testrunner/local/testsuite.py » ('j') | 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 d02ad0777d8f4a57e057504516f1463a4ebba84e..3faa01fa69647a31ea85ae555b8b3ef4c807464e 100644
--- a/test/test262/testcfg.py
+++ b/test/test262/testcfg.py
@@ -128,7 +128,13 @@ class Test262TestSuite(testsuite.TestSuite):
return tests
def GetFlagsForTestCase(self, testcase, context):
- return (testcase.flags + context.mode_flags + self.harness +
+ # TODO(rmcilroy) Remove ignition filter modification once ignition can
+ # support the test262 test harness code.
+ ignition_filter = "--ignition-filter=" + self.testroot + "/*"
Michael Achenbach 2015/10/01 08:44:53 Please make ignition_filter a class member as it o
rmcilroy 2015/10/06 12:43:24 Done.
+ flags = [ ignition_filter if "ignition-filter" in flag else flag
+ for flag in testcase.flags]
+
+ return (flags + context.mode_flags + self.harness +
self.GetIncludesForTest(testcase) + ["--harmony"] +
[os.path.join(self.testroot, testcase.path + ".js")])
« no previous file with comments | « no previous file | tools/testrunner/local/testsuite.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698