Skip to content

Commit

Permalink
update DA-1.4/1.8 helpter script (project-chip#33935)
Browse files Browse the repository at this point in the history
I added the PID to the test_vector, so we should pull it from
there. There's a new fallback that uses a different PID.
  • Loading branch information
cecille authored Jun 19, 2024
1 parent 3b4371e commit b194ca5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ def main():
with open(path, 'r') as f:
j = json.loads(f.read())
success_expected = j['is_success_case'].lower() == 'true'
pid = 177 if 'fallback_encoding' in p else 32768
desc = TestInfo(desc=j['description'], dir=p, pid=pid)
desc = TestInfo(desc=j['description'], dir=p, pid=int(j['basic_info_pid']))
if success_expected:
success_cases.append(desc)
else:
Expand Down

0 comments on commit b194ca5

Please sign in to comment.