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

Unified Diff: tests/stub-generator/testcfg.py

Issue 8361035: Don't use the old generated files. (Closed) Base URL: http://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 | « tests/stub-generator/src/MintMakerFullyIsolatedTest-generatedTest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/stub-generator/testcfg.py
===================================================================
--- tests/stub-generator/testcfg.py (revision 600)
+++ tests/stub-generator/testcfg.py (working copy)
@@ -87,6 +87,10 @@
self.context.generate = os.access(dartc[0], os.X_OK)
tests = []
for root, dirs, files in os.walk(join(self.root, 'src')):
+ # Skip remnants from the subdirectory that used to be used for
+ # generated code.
+ if root.endswith('generated'):
+ continue
for f in [x for x in files if self.IsTest(x)]:
# If we can generate code, do not use the checked-in generated
# code. Conversely, if we cannot, then only use the
« no previous file with comments | « tests/stub-generator/src/MintMakerFullyIsolatedTest-generatedTest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698