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

Unified Diff: tools/testing/test_case.py

Issue 8226016: Add the ability to run tests with several sets of VM flags (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments from ngeoffray@ Created 9 years, 2 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 | « tools/testing/architecture.py ('k') | tools/testing/test_configuration.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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")
« no previous file with comments | « tools/testing/architecture.py ('k') | tools/testing/test_configuration.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698