Skip to content

Commit c821231

Browse files
authored
Sort test tasks based on last execution time. (#38)
Permits tests to run faster, this functionality must have been lost in some refactoring effort, and was not covered by tests.
1 parent ed07049 commit c821231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gtest_parallel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def find_tests(binaries, additional_args, options, times):
532532

533533
test_count += 1
534534

535-
return tasks
535+
return sorted(tasks)
536536

537537

538538
def execute_tasks(tasks, pool_size, task_manager,

0 commit comments

Comments
 (0)