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

Unified Diff: frog/tests/await/test_config.dart

Issue 9240011: Add temporary directory for dartc compilation of tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed name to createOutputDirectory 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 | frog/tests/leg_only/test_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/await/test_config.dart
diff --git a/frog/tests/await/test_config.dart b/frog/tests/await/test_config.dart
index 4447bcb57710b935818677fa99d8a7e4f6488186..4de5ebbef0eb580a2d762bf5cb3e7c6200c63a05 100644
--- a/frog/tests/await/test_config.dart
+++ b/frog/tests/await/test_config.dart
@@ -13,13 +13,7 @@ class AwaitTestSuite extends StandardTestSuite {
"frog/tests/await/src",
["frog/tests/await/await.status"]);
- List<String> additionalOptions() {
- // Support running the tests from the frog as well as the
- // top-level directory.
- var awaitFile = new File("await/awaitc.dart");
- if (!awaitFile.existsSync()) {
- awaitFile = new File("frog/await/awaitc.dart");
- }
- return [awaitFile.fullPathSync()];
+ List<String> additionalOptions(String filename) {
+ return ['$dartDir/frog/await/awaitc.dart'];
}
}
« no previous file with comments | « no previous file | frog/tests/leg_only/test_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698