Skip to content
Snippets Groups Projects
Commit aa6c94cb authored by Matt Kwong's avatar Matt Kwong
Browse files

Fix skipped tests not showing up in Jenkins UI

parent fe1bcd99
No related branches found
No related tags found
No related merge requests found
...@@ -301,7 +301,9 @@ if __name__ == "__main__": ...@@ -301,7 +301,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.
Finish editing this message first!
Please register or to comment