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

Unified Diff: tools/testing/dart/test_runner.dart

Issue 8558018: Implement cc test suite and use it to run the VM tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add TODO for extra options. 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 | « tools/test.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_runner.dart
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
index 5ca47fcb3b69700e1a1a352e1510ccddc7893b1d..cc8c75623fde3bf0b6191c599f02e9ec8448e40a 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -18,46 +18,6 @@
final int NO_TIMEOUT = 0;
-String getBuildDir(Map configuration) {
- var buildDir = '';
- var system = configuration['system'];
- if (system == 'linux') {
- buildDir = 'out/';
- } else if (system == 'macos') {
- buildDir = 'xcodebuild/';
- }
- buildDir += (configuration['mode'] == 'debug') ? 'Debug_' : 'Release_';
- buildDir += configuration['architecture'] + '/';
- return buildDir;
-}
-
-
-String getExecutableName(Map configuration) {
- switch (configuration['component']) {
- case 'vm':
- return 'dart_bin';
- case 'dartc':
- return 'compiler/bin/dartc_test';
- case 'frog':
- case 'leg':
- return 'frog/bin/frog';
- case 'frogsh':
- return 'frog/bin/frogsh';
- default:
- throw "Unknown executable for: ${configuration['component']}";
- }
-}
-
-
-String getDartShellFileName(Map configuration) {
- var name = getBuildDir(configuration) + getExecutableName(configuration);
- if (!(new File(name)).existsSync()) {
- throw "Executable '$name' does not exist";
- }
- return name;
-}
-
-
class TestCase {
String executablePath;
List<String> arguments;
« no previous file with comments | « tools/test.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698