mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[testing] Better short job name during upload additional stats (#164287)
I think we usually we leave the ` / test` in for clarity Pull Request resolved: https://github.com/pytorch/pytorch/pull/164287 Approved by: https://github.com/atalman, https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
7304b9e7d2
commit
e5c0e6b5e3
@ -151,7 +151,7 @@ def get_invoking_file_summary(
|
||||
for tests in grouped_tests:
|
||||
build_name = tests[0]["build_name"]
|
||||
test_config = tests[0]["test_config"]
|
||||
short_job_name = f"{build_name} / ({test_config})"
|
||||
short_job_name = f"{build_name} / test ({test_config})"
|
||||
file = tests[0].get("file", "NoFile")
|
||||
|
||||
key = (build_name, test_config, file)
|
||||
@ -211,7 +211,7 @@ def get_test_status(test_cases: list[list[dict[str, Any]]]) -> list[dict[str, An
|
||||
for tests in test_cases:
|
||||
build_name = tests[0]["build_name"]
|
||||
test_config = tests[0]["test_config"]
|
||||
short_job_name = f"{build_name} / ({test_config})"
|
||||
short_job_name = f"{build_name} / test ({test_config})"
|
||||
file = tests[0].get("file", "NoFile")
|
||||
|
||||
statuses = []
|
||||
|
Reference in New Issue
Block a user