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)); |