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

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

Issue 10854156: Add a support for a slow marker in status files. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
Index: tools/testing/dart/status_file_parser.dart
===================================================================
--- tools/testing/dart/status_file_parser.dart (revision 10699)
+++ tools/testing/dart/status_file_parser.dart (working copy)
@@ -7,14 +7,21 @@
#import("dart:io");
#import("status_expression.dart");
-// Possible outcomes of running a test.
+/** Possible outcomes of running a test. */
final CRASH = "crash";
final TIMEOUT = "timeout";
final FAIL = "fail";
final PASS = "pass";
-// An indication to skip the test. The caller is responsible for skipping it.
+/**
+ * An indication to skip the test. The caller is responsible for skipping it.
+ */
final SKIP = "skip";
final OK = "ok";
+/**
+ * An indication that a test is slow and we should allow extra time for
+ * completion.
+ */
+final SLOW = "slow";
final RegExp StripComment = const RegExp("^[^#]*");
final RegExp HeaderPattern = const RegExp(@"^\[([^\]]+)\]");

Powered by Google App Engine
This is Rietveld 408576698