Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Co-authored-by: Ma, Bing <Bing.Ma@amd.com>
Этот коммит содержится в:
Madsen, Jonathan
2025-05-26 22:39:59 -05:00
коммит произвёл GitHub
родитель b48fa532bc
Коммит 85cdc11f8b
2 изменённых файлов: 4 добавлений и 2 удалений
+2 -1
Просмотреть файл
@@ -124,7 +124,8 @@ def test_validate_counter_collection_pmc1_json(json_data):
sq_waves_values.append(record["value"])
# Check aggregate sum
assert sum(sq_waves_values) > 0, f"SQ_WAVES value is not > 0"
if agent["name"] not in skip_gfx:
assert sum(sq_waves_values) > 0, "SQ_WAVES value is not > 0"
di_uniq = list(set(sorted(dispatch_ids)))
# make sure the dispatch ids are unique and ordered
+2 -1
Просмотреть файл
@@ -113,7 +113,8 @@ def validate_json(json_data, counter_name, check_dispatch):
values.append(record["value"])
# Check aggregate sum
assert sum(values) > 0, f"{counter_name} value is not > 0"
if agent["name"] not in skip_gfx:
assert sum(values) > 0, f"{counter_name} value is not > 0"
if check_dispatch:
di_uniq = list(set(sorted(dispatch_ids)))