Revision: 4500
Author: jprantan
Date: Fri Dec 10 01:17:03 2010
Log: Added sorting because glob pattern does not sort files. Caused suites
to be executed in random order in case of Windows.
http://code.google.com/p/robotframework/source/detail?r=4500
Modified:
/trunk/src/robot/utils/argumentparser.py
=======================================
--- /trunk/src/robot/utils/argumentparser.py Mon May 31 05:21:54 2010
+++ /trunk/src/robot/utils/argumentparser.py Fri Dec 10 01:17:03 2010
@@ -276,7 +276,7 @@
def _glob_args(self, args):
temp = []
for path in args:
- paths = glob.glob(path)
+ paths = sorted(glob.glob(path))
if paths:
temp.extend(paths)
else: