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

Unified Diff: tools/testing/test_case.py

Issue 8566021: Made changes to the test architecture so that we can run frameworks other than (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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
« tools/testing/architecture.py ('K') | « tools/testing/run_selenium.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/test_case.py
===================================================================
--- tools/testing/test_case.py (revision 1522)
+++ tools/testing/test_case.py (working copy)
@@ -27,7 +27,8 @@
self.component = component
self.run_arch = architecture.GetArchitecture(self.arch, self.mode,
self.component,
- self.filename)
+ self.filename,
+ self.context.flags)
for flag in context.flags:
self.run_arch.vm_options.append(flag)
@@ -93,7 +94,7 @@
class BrowserTestCase(StandardTestCase):
- """A test case that executes inside DumpRenderTree."""
+ """A test case that executes inside DumpRenderTree or a browser."""
def __init__(self, context, path, filename,
fatal_static_type_errors, mode, arch, component, vm_options=None):
@@ -140,7 +141,8 @@
self.run_arch = architecture.GetArchitecture(self.arch,
self.mode,
self.component,
- self.filename)
+ self.filename,
+ self.context.flags)
self.temp_dir = tempfile.mkdtemp(prefix='dartc-output-')
def IsNegative(self):
« tools/testing/architecture.py ('K') | « tools/testing/run_selenium.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698