Index: tools/testrunner/local/utils.py |
diff --git a/tools/testrunner/local/utils.py b/tools/testrunner/local/utils.py |
index 7bc21b1fc025f548218d6e28cbe2c447e5567844..707fa24fbf1267ccf6b8ad32fd09cd621f266a11 100644 |
--- a/tools/testrunner/local/utils.py |
+++ b/tools/testrunner/local/utils.py |
@@ -36,7 +36,9 @@ import urllib2 |
def GetSuitePaths(test_root): |
- return [ f for f in os.listdir(test_root) if isdir(join(test_root, f)) ] |
+ def IsSuite(path): |
+ return isdir(path) and exists(join(path, 'testcfg.py')) |
+ return [ f for f in os.listdir(test_root) if IsSuite(join(test_root, f)) ] |
# Reads a file into an array of strings |