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