Index: tools/testing/test_case.py |
diff --git a/tools/testing/test_case.py b/tools/testing/test_case.py |
index 1c4f7f0f01ea7020175eb719308ea2a45a90365b..99af9d566fafc4041925dc61a6fa7970999e6454 100644 |
--- a/tools/testing/test_case.py |
+++ b/tools/testing/test_case.py |
@@ -24,7 +24,7 @@ class Error(Exception): |
class StandardTestCase(test.TestCase): |
- def __init__(self, context, path, filename, mode, arch): |
+ def __init__(self, context, path, filename, mode, arch, vm_options = []): |
super(StandardTestCase, self).__init__(context, path) |
self.filename = filename |
self.mode = mode |
@@ -34,6 +34,9 @@ class StandardTestCase(test.TestCase): |
for flag in context.flags: |
self.run_arch.vm_options.append(flag) |
+ for flag in vm_options: |
+ self.run_arch.vm_options.append(flag) |
+ |
def IsNegative(self): |
return self.GetName().endswith("NegativeTest") |