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): |