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

Unified Diff: tests/stub-generator/testcfg.py

Issue 8437103: In stub-generator tests, look for dartc with the arch the test is configured for (Closed) Base URL: https://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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/stub-generator/testcfg.py
diff --git a/tests/stub-generator/testcfg.py b/tests/stub-generator/testcfg.py
index 31dd70adaa5167fc2cf75a3aa3889440e75b0b2c..04fa3fb7ce2fd29dc9ad3432c3106a4afed91331 100644
--- a/tests/stub-generator/testcfg.py
+++ b/tests/stub-generator/testcfg.py
@@ -55,7 +55,7 @@ class DartStubTestCase(test_case.StandardTestCase):
src = join(self.GetPath(), interface)
dest = join(self.GetPath(), GeneratedName(interface))
(_, tmp) = tempfile.mkstemp()
- command = self.context.GetDartC(self.mode, 'dartc')
+ command = self.context.GetDartC(self.mode, self.arch)
self.RunCommand(command + [ src,
# dartc generates output even if it has no
# output to generate.
@@ -108,7 +108,7 @@ class DartStubTestConfiguration(test_configuration.StandardTestConfiguration):
super(DartStubTestConfiguration, self).__init__(context, root)
def ListTests(self, current_path, path, mode, arch, component):
- dartc = self.context.GetDartC(mode, 'dartc')
+ dartc = self.context.GetDartC(mode, arch)
self.context.generate = os.access(dartc[0], os.X_OK)
tests = []
for root, dirs, files in os.walk(join(self.root, 'src')):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698