Commit f36c3228 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Sort tests to increase predictability of mozilla test runs

in the face of suspected python bugs.  Also remove some
unused code.
Review URL: http://codereview.chromium.org/365001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3217 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 392ee5d1
...@@ -103,6 +103,7 @@ class MozillaTestConfiguration(test.TestConfiguration): ...@@ -103,6 +103,7 @@ class MozillaTestConfiguration(test.TestConfiguration):
for excluded in EXCLUDED: for excluded in EXCLUDED:
if excluded in dirs: if excluded in dirs:
dirs.remove(excluded) dirs.remove(excluded)
dirs.sort()
root_path = root[len(self.root):].split(os.path.sep) root_path = root[len(self.root):].split(os.path.sep)
root_path = current_path + [x for x in root_path if x] root_path = current_path + [x for x in root_path if x]
framework = [] framework = []
...@@ -113,6 +114,7 @@ class MozillaTestConfiguration(test.TestConfiguration): ...@@ -113,6 +114,7 @@ class MozillaTestConfiguration(test.TestConfiguration):
if exists(script): if exists(script):
framework.append(script) framework.append(script)
framework.reverse() framework.reverse()
files.sort()
for file in files: for file in files:
if (not file in FRAMEWORK) and file.endswith('.js'): if (not file in FRAMEWORK) and file.endswith('.js'):
full_path = root_path + [file[:-3]] full_path = root_path + [file[:-3]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment