Skip to content
Snippets Groups Projects
Commit 7b16bbe5 authored by matt-kwong's avatar matt-kwong Committed by GitHub
Browse files

Merge pull request #8706 from matt-kwong/pull-request-params

Show skipped tests not showing up in Jenkins UI
parents a5da0ef0 aa6c94cb
Branches
Tags
No related merge requests found
...@@ -311,7 +311,9 @@ if __name__ == "__main__": ...@@ -311,7 +311,9 @@ if __name__ == "__main__":
print('No tests will be skipped.') print('No tests will be skipped.')
else: else:
print('These tests will be skipped:') print('These tests will be skipped:')
skipped_jobs = [job for job in jobs if job not in relevant_jobs] skipped_jobs = list(set(jobs) - set(relevant_jobs))
# Sort by shortnames to make printing of skipped tests consistent
skipped_jobs.sort(key=lambda job: job.shortname)
for job in list(skipped_jobs): for job in list(skipped_jobs):
print(' %s' % job.shortname) print(' %s' % job.shortname)
jobs = relevant_jobs jobs = relevant_jobs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment