Keep order in which files are specified in input_files of task-definition files.
We need to sort the result of expanding file-name patterns
in order to be deterministic,
but we do not need to sort the final list of input files.
@@ -592,8 +592,8 @@ class RunSet(object):
raise BenchExecException(
"Pattern '{}' in task-definition file {} did not match any paths."
.format(pattern, task_def_file))
+ expanded.sort()
result.extend(expanded)
- result.sort()
return result
input_files = expand_patterns_from_tag("input_files")
