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

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

Issue 9314032: Fix VM test suite after path changes. (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 | « no previous file | 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 b247c77f7860087f418a784825bd86155bf93bd2..011371027de203bbde2d39f03e1afd3680249668 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -54,8 +54,9 @@ class CCTestListerIsolate extends Isolate {
class CCTestSuite implements TestSuite {
Map configuration;
- String suiteName;
+ final String suiteName;
String runnerPath;
+ final String dartDir;
List<String> statusFilePaths;
Function doTest;
Function doDone;
@@ -65,8 +66,10 @@ class CCTestSuite implements TestSuite {
CCTestSuite(Map this.configuration,
String this.suiteName,
String runnerName,
- List<String> this.statusFilePaths) {
+ List<String> this.statusFilePaths)
+ : dartDir = TestUtils.dartDir() {
runnerPath = TestUtils.buildDir(configuration) + '/' + runnerName;
+
}
bool complexStatusMatching() => false;
@@ -125,7 +128,7 @@ class CCTestSuite implements TestSuite {
new TestExpectations(complexMatching: complexStatusMatching());
for (var statusFilePath in statusFilePaths) {
ReadTestExpectationsInto(testExpectations,
- statusFilePath,
+ '$dartDir/$statusFilePath',
configuration,
statusFileRead);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698