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

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

Issue 9155001: Use test.dart for dartc buildbot. Ensure that test.dart creates the build directory. (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 | « client/tools/buildbot_annotated_steps.py ('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/multitest.dart
diff --git a/tools/testing/dart/multitest.dart b/tools/testing/dart/multitest.dart
index ede240bf9b01448a9013f17ce0bf7688bb3b39ad..b5febc10522f67ef4b0cebc9f8f965894b938076 100644
--- a/tools/testing/dart/multitest.dart
+++ b/tools/testing/dart/multitest.dart
@@ -158,6 +158,9 @@ void DoMultitest(String filename,
String CreateMultitestDirectory(String outputDir, String testDir) {
final String generatedTestDirectory = 'generated_tests';
Directory parentDir = new Directory(outputDir + generatedTestDirectory);
+ if (!new Directory(outputDir).existsSync()) {
+ new Directory(outputDir).createSync();
+ }
if (!parentDir.existsSync()) {
parentDir.createSync();
}
« no previous file with comments | « client/tools/buildbot_annotated_steps.py ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698