Bug 1218841: only return unique tests from parse_tests_chunks; r=ahal

This commit is contained in:
Dustin J. Mitchell
2015-10-27 12:07:50 -04:00
parent 137d69843e
commit 9472dd56f0
2 changed files with 20 additions and 18 deletions

View File

@@ -168,7 +168,9 @@ def parse_test_chunks(aliases, all_tests, tests):
test['only_chunks'] = seen_chunks[name]
results.append(test)
return results;
# uniquify the results over the test names
results = {test['test']: test for test in results}.values()
return results
def extract_tests_from_platform(test_jobs, build_platform, build_task, tests):
'''