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

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

Issue 8957008: Always use --leg_only option. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update language-leg.status Created 9 years 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
« dart/tools/testing/architecture.py ('K') | « dart/tools/testing/architecture.py ('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
diff --git a/dart/tools/testing/test_configuration.py b/dart/tools/testing/test_configuration.py
index 806549e1be3637aacbe0a2f3dedca9e2609d2e74..486bc488e9900709c17cd5662dcff56ffea9d789 100644
--- a/dart/tools/testing/test_configuration.py
+++ b/dart/tools/testing/test_configuration.py
@@ -139,9 +139,11 @@ class StandardTestConfiguration(test.TestConfiguration):
def GetTestStatus(self, sections, defs):
"""Reads the .status file of the TestSuite."""
- status = os.path.join(self.root, os.path.basename(self.root) + '.status')
- if os.path.exists(status):
- test.ReadConfigurationInto(status, sections, defs)
+ basename = os.path.basename(self.root)
+ for component in ['%s.status', '%s-leg.status']:
+ status = os.path.join(self.root, component % basename)
+ if os.path.exists(status):
+ test.ReadConfigurationInto(status, sections, defs)
def FindReferencedFiles(self, lines):
"""Scours the lines containing source code for include directives."""
« dart/tools/testing/architecture.py ('K') | « dart/tools/testing/architecture.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698