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

Unified Diff: dart/tools/testing/test_configuration.py

Issue 8437091: - Update tests to make sure they recerefence invalid code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' 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 | « dart/tests/language/src/Prefix15NegativeTest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/testing/test_configuration.py
===================================================================
--- dart/tools/testing/test_configuration.py (revision 1146)
+++ dart/tools/testing/test_configuration.py (working copy)
@@ -168,10 +168,12 @@
if sep:
(tag, sep, kind) = info.partition(': ')
if tag in tags:
- raise TestConfigurationError('duplicated tag %s' % tag)
- if kind not in StandardTestConfiguration.LEGAL_KINDS:
+ if kind != 'continued':
+ raise TestConfigurationError('duplicated tag %s' % tag)
+ elif kind not in StandardTestConfiguration.LEGAL_KINDS:
raise TestConfigurationError('unrecognized kind %s' % kind)
- tags[tag] = kind
+ else:
+ tags[tag] = kind
if not tags:
return {}
# Prepare directory for generated tests.
« no previous file with comments | « dart/tests/language/src/Prefix15NegativeTest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698