File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 6060 path : ./dist/*.whl
6161 - name : Run tests
6262 env :
63- ROCM_TEST_INCLUDE_SKIPS : " 1"
6463 GPU_COUNT : " 8"
6564 GFX : " gfx90a"
6665 run : |
Original file line number Diff line number Diff line change 1- import os
21import pytest
32
43
5- INCLUDE_SKIPS = os .getenv ("ROCM_TEST_INCLUDE_SKIPS" , default = False )
6-
74@pytest .hookimpl (optionalhook = True )
85def pytest_json_modifyreport (json_report ):
96 """Get rid of skipped tests in reporting. We only care about xfails."""
10- if (not INCLUDE_SKIPS
11- and "summary" in json_report
12- and "total" in json_report ["summary" ]):
7+ if "summary" in json_report and "total" in json_report ["summary" ]:
138 json_report ["summary" ]["unskipped_total" ] = json_report ["summary" ]["total" ] - json_report ["summary" ].get ("skipped" , 0 )
14- del json_report ["summary" ]["total" ]
You can’t perform that action at this time.
0 commit comments