Skip to content

Commit

Permalink
Prevent accessing devices that was deleted on lit config
Browse files Browse the repository at this point in the history
  • Loading branch information
omarahmed1111 committed Sep 24, 2024
1 parent 36690f4 commit bcec694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/test-e2e/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def get_extra_env(sycl_devices):
test, litConfig, useExternalSh, script, tmpBase
)

if len(devices_for_test) > 1:
if len(devices_for_test) != 1:
return result

# Single device - might be an XFAIL.
Expand Down

0 comments on commit bcec694

Please sign in to comment.