Fix logic error in PR #410 (#414)

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Co-authored-by: Ma, Bing <Bing.Ma@amd.com>
이 커밋은 다음에 포함됨:
작성하고 GitHub가 2025-05-26 22:39:59 -05:00를 커밋함
1 부모 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)))