| Index: tests/standalone/src/TestRunnerTest.dart
|
| diff --git a/tests/standalone/src/TestRunnerTest.dart b/tests/standalone/src/TestRunnerTest.dart
|
| index 8e676acd369116f726f0a5dfa1c4445a4d080703..b7dc8ef5b645bafa8b3ef146459fa4fe2731b1e5 100644
|
| --- a/tests/standalone/src/TestRunnerTest.dart
|
| +++ b/tests/standalone/src/TestRunnerTest.dart
|
| @@ -23,7 +23,7 @@ class TestController {
|
| for (var line in output.stdout) print(line);
|
| print("stderr: ");
|
| for (var line in output.stderr) print(line);
|
| -
|
| +
|
| print("Time: ${output.time}");
|
| print("Exit code: ${output.exitCode}");
|
|
|
| @@ -45,7 +45,7 @@ TestCase MakeTestCase(String testName, List<String> expectations) {
|
|
|
| var timeout = 2;
|
| return new TestCase(testName,
|
| - getDartBinName(),
|
| + getDartFileName(),
|
| <String>["--ignore-unrecognized-flags",
|
| "--enable_type_checks",
|
| test_path],
|
| @@ -55,27 +55,6 @@ TestCase MakeTestCase(String testName, List<String> expectations) {
|
| }
|
|
|
|
|
| -String getDartBinName() {
|
| - var os = new Platform().operatingSystem();
|
| -
|
| - var outDir = '';
|
| - if (os == 'linux') {
|
| - outDir = 'out';
|
| - } else if (os == 'macos') {
|
| - outDir = 'xcodebuild';
|
| - }
|
| -
|
| - var names = ['$outDir/Debug_ia32/dart',
|
| - '$outDir/Release_ia32/dart'];
|
| -
|
| - for (var name in names) {
|
| - if (new File(name).existsSync()) {
|
| - return name;
|
| - }
|
| - }
|
| -}
|
| -
|
| -
|
| void main() {
|
| int timeout = 2;
|
| new RunningProcess(MakeTestCase("PassTest", [PASS]), timeout).start();
|
|
|