New version uploaded. Please review this at http://codereview.chromium.org/365001
2009/11/4 <[email protected]>: > Reviewers: Christian Plesner Hansen, > > Description: > Sort tests to increase predictability of mozilla test runs > in the face of suspected python bugs. Also remove some > unused code. > > Please review this at http://codereview.chromium.org/365001 > > SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ > > Affected files: > M test/mozilla/testcfg.py > > > Index: test/mozilla/testcfg.py > =================================================================== > --- test/mozilla/testcfg.py (revision 3207) > +++ test/mozilla/testcfg.py (working copy) > @@ -98,11 +98,6 @@ > for test_dir in TEST_DIRS: > current_root = join(self.root, 'data', test_dir) > for root, dirs, files in os.walk(current_root): > - for dotted in [x for x in dirs if x.startswith('.')]: > - dirs.remove(dotted) > - for excluded in EXCLUDED: > - if excluded in dirs: > - dirs.remove(excluded) > root_path = root[len(self.root):].split(os.path.sep) > root_path = current_path + [x for x in root_path if x] > framework = [] > @@ -113,6 +108,7 @@ > if exists(script): > framework.append(script) > framework.reverse() > + files.sort(); > for file in files: > if (not file in FRAMEWORK) and file.endswith('.js'): > full_path = root_path + [file[:-3]] > > > --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
