Skip to content

Commit 82f4ea2

Browse files
authored
[UR][CI] Skip adapter testing for adapters that haven't been built (#18733)
This doesn't affect the `check-unified-runtime-adapter` target, but does fix the main `check-unified-runtime` target.
1 parent 23584c1 commit 82f4ea2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"""
2+
Copyright (C) 2025 Intel Corporation
3+
4+
Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
5+
See LICENSE.TXT
6+
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7+
8+
"""
9+
10+
# Skip adapter testing for adapters that have not been built
11+
if "cuda" not in config.adapters_built:
12+
config.excludes.add("cuda")
13+
if "hip" not in config.adapters_built:
14+
config.excludes.add("hip")
15+
if "level_zero" not in config.adapters_built:
16+
config.excludes.add("level_zero")

0 commit comments

Comments
 (0)