| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #library("test_suite"); | 5 #library("test_suite"); |
| 6 | 6 |
| 7 #import("status_file_parser.dart"); | 7 #import("status_file_parser.dart"); |
| 8 #import("test_runner.dart"); | 8 #import("test_runner.dart"); |
| 9 #import("multitest.dart"); | 9 #import("multitest.dart"); |
| 10 | 10 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 args, | 215 args, |
| 216 timeout, | 216 timeout, |
| 217 completeHandler, | 217 completeHandler, |
| 218 expectations, | 218 expectations, |
| 219 isNegative)); | 219 isNegative)); |
| 220 } | 220 } |
| 221 } | 221 } |
| 222 | 222 |
| 223 | 223 |
| 224 if (optionsFromFile['isMultitest']) { | 224 if (optionsFromFile['isMultitest']) { |
| 225 DoMultitest(filename, createTestCase); | 225 DoMultitest(filename, |
| 226 TestUtils.buildDir(configuration), |
| 227 directoryPath, |
| 228 createTestCase); |
| 226 } else { | 229 } else { |
| 227 createTestCase(filename, optionsFromFile['isNegative']); | 230 createTestCase(filename, optionsFromFile['isNegative']); |
| 228 } | 231 } |
| 229 } | 232 } |
| 230 | 233 |
| 231 void completeHandler(TestCase testCase) { | 234 void completeHandler(TestCase testCase) { |
| 232 } | 235 } |
| 233 | 236 |
| 234 | 237 |
| 235 List<List<String>> argumentListsFromFile(String filename, | 238 List<List<String>> argumentListsFromFile(String filename, |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 args.add("--enable_leg"); | 366 args.add("--enable_leg"); |
| 364 } | 367 } |
| 365 if (configuration["component"] == "dartc") { | 368 if (configuration["component"] == "dartc") { |
| 366 if (configuration["mode"] == "release") { | 369 if (configuration["mode"] == "release") { |
| 367 args.add("--optimize"); | 370 args.add("--optimize"); |
| 368 } | 371 } |
| 369 } | 372 } |
| 370 return args; | 373 return args; |
| 371 } | 374 } |
| 372 } | 375 } |
| OLD | NEW |