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

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

Issue 9865033: Add frog and froglib options back in dartium uses them. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 months 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/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
===================================================================
--- tools/testing/dart/test_suite.dart (revision 5895)
+++ tools/testing/dart/test_suite.dart (working copy)
@@ -590,7 +590,10 @@
case 'frog':
case 'frogsh':
case 'dart2js':
- String libdir = '$dartDir/frog/lib';
+ String libdir = configuration['froglib'];
+ if (libdir == '') {
+ libdir = '$dartDir/frog/lib';
+ }
args.addAll(['--libdir=$libdir',
'--compile-only',
'--out=$outputFile']);
@@ -1125,7 +1128,10 @@
if (configuration['compiler'] == 'none') {
return null; // No separate compiler for dartium tests.
}
- var name = '${buildDir(configuration)}/${compilerName(configuration)}';
+ var name = configuration['frog'];
+ if (name == '') {
+ name = '${buildDir(configuration)}/${compilerName(configuration)}';
+ }
if (!(new File(name)).existsSync() && !configuration['list']) {
throw "Executable '$name' does not exist";
}
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698