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

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

Issue 8507010: Make tools/test.dart read standalone.status status file when running tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove unimplemented stubs and classes. Created 9 years, 1 month 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 | « tests/standalone/test_config.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/status_file_parser.dart
diff --git a/tools/testing/dart/status_file_parser.dart b/tools/testing/dart/status_file_parser.dart
index d7a7345214ba3381667fa64ecf7a0bc30967bbdf..43f3077f7165650640805ba68b74c7739ab6ca86 100644
--- a/tools/testing/dart/status_file_parser.dart
+++ b/tools/testing/dart/status_file_parser.dart
@@ -16,6 +16,7 @@ final RegExp PrefixPattern = const RegExp(@"^\s*prefix\s+([\w\_\.\-\/]+)\s*$");
// structures for test configuration, including Section.
class Section {
BooleanExpression condition;
+ Collection testSettings = const [];
Section.always() : condition = null;
Section(this.condition);
@@ -27,6 +28,9 @@ class Section {
String getFilename(String path) =>
new File(path).existsSync() ? path : '../$path';
+String getDirname(String path) =>
+ new Directory(path).existsSync() ? path : '../$path';
+
void ReadConfigurationInto(path, sections) {
File file = new File(getFilename(path));
« no previous file with comments | « tests/standalone/test_config.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698