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

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

Issue 9110032: Fix test.dart on Frogium component, enable in buildbot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « frog/scripts/buildbot_annotated_steps.py ('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
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index 906731d5436dde8aa9c4e0f22395892ec9995e01..e74314f247d3df0ecec5a1ff6c8a63cdc0b78916 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -351,7 +351,8 @@ class StandardTestSuite implements TestSuite {
final String component = configuration['component'];
final String testPath = new File(filename).fullPathSync();
String dartDir = new File('.').fullPathSync();
- if (!testPath.startsWith(dartDir)) {
+ if (!testPath.startsWith(dartDir) ||
+ dartDir.endsWith('/frog')) {
ahe 2012/01/06 15:23:06 This looks like a hack, but I guess you know what
dartDir = new File('..').fullPathSync();
if (!testPath.startsWith(dartDir)) {
print('Run test.dart from the dart directory or' +
« no previous file with comments | « frog/scripts/buildbot_annotated_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698