Skip to content

Commit

Permalink
test: check if gfx segments exist in workflow get_args
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Aug 8, 2023
1 parent 9ad10b8 commit 2da41aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/run_test_workflow.py
Expand Up @@ -157,7 +157,8 @@ def get_args_for_collect_baseline_from_test_results(test_results_paths: List[Pat
# Capture the very first frame (this covers non-gfx failures).
failing_segments_by_replay[run.name].append([run.failing_frame, run.failing_frame])
# ...and all unexpected gfx segments (but, the limited variant).
failing_segments_by_replay[run.name].extend(run.unexpected_gfx_segments_limited)
if run.unexpected_gfx_segments_limited:
failing_segments_by_replay[run.name].extend(run.unexpected_gfx_segments_limited)

args = []
for replay_name, failing_segments in failing_segments_by_replay.items():
Expand Down

0 comments on commit 2da41aa

Please sign in to comment.