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

Unified Diff: tools/testing/architecture.py

Issue 8295012: Fix pattern used to tell which tests are web tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/architecture.py
diff --git a/tools/testing/architecture.py b/tools/testing/architecture.py
index f41f650c833ee71598c56744f8cbe0607580f672..2413b4968c1ec7a028ab8fbff21868635f54af9d 100755
--- a/tools/testing/architecture.py
+++ b/tools/testing/architecture.py
@@ -109,7 +109,7 @@ main() {
DART_OPTIONS_PATTERN = re.compile(r"// DartOptions=(.*)")
# Pattern for checking if the test is a web test.
-DOM_IMPORT_PATTERN = re.compile(r'#import.*(dart:dom|html.dart).*\);',
+DOM_IMPORT_PATTERN = re.compile(r'#import.*dart:(dom|html).*\);',
re.MULTILINE)
# Pattern for matching the output of a browser test.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698