Skip to content

Commit c7ff7ef

Browse files
authored
[sycl-cts] Disable test_range on Win (#19699)
Also rename linux files.
1 parent cffc9ec commit c7ff7ef

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

devops/actions/run-tests/cts/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ runs:
4343
if [ "${{ contains(inputs.cts_testing_mode, 'build-only') }}" = "true" ]; then
4444
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/compfails
4545
elif [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
46-
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/OCL_CPU
46+
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/LINUX_OCL_CPU
4747
elif [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
48-
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/L0_GPU
48+
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/LINUX_L0_GPU
4949
fi
5050
5151
# List excluded SYCL CTS categories:
@@ -105,7 +105,7 @@ runs:
105105
# If the suite was built on another machine then the build contains the full
106106
# set of tests. We have special files to filter out some test categories,
107107
# see "sycl/cts_exclude_filter/*". Each configuration has its own file, e.g.
108-
# there is "cts_exclude_filter/OCL_CPU" for opencl:cpu device. Therefore,
108+
# there is "cts_exclude_filter/LINUX_OCL_CPU" for opencl:cpu device. Therefore,
109109
# these files may differ from each other, so when there is a pre-built set of
110110
# tests, we need to filter it according to the filter-file.
111111
- name: Filter SYCL CTS test categories
@@ -114,9 +114,9 @@ runs:
114114
run: |
115115
cts_exclude_filter=""
116116
if [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
117-
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/OCL_CPU
117+
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/LINUX_OCL_CPU
118118
elif [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
119-
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/L0_GPU
119+
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/LINUX_L0_GPU
120120
fi
121121
122122
if [ -f "$cts_exclude_filter" ]; then

devops/actions/run-tests/windows/cts/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ runs:
4343
if [ "${{ contains(inputs.cts_testing_mode, 'build-only') }}" = "true" ]; then
4444
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/compfails
4545
elif [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
46-
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/OCL_CPU
46+
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/WIN_OCL_CPU
4747
elif [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
48-
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/L0_GPU
48+
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/WIN_L0_GPU
4949
fi
5050
5151
# List excluded SYCL CTS categories:
@@ -107,7 +107,7 @@ runs:
107107
# If the suite was built on another machine then the build contains the full
108108
# set of tests. We have special files to filter out some test categories,
109109
# see "sycl/cts_exclude_filter/*". Each configuration has its own file, e.g.
110-
# there is "cts_exclude_filter/OCL_CPU" for opencl:cpu device. Therefore,
110+
# there is "cts_exclude_filter/WIN_OCL_CPU" for opencl:cpu device. Therefore,
111111
# these files may differ from each other, so when there is a pre-built set of
112112
# tests, we need to filter it according to the filter-file.
113113
- name: Filter SYCL CTS test categories
@@ -116,9 +116,9 @@ runs:
116116
run: |
117117
cts_exclude_filter=""
118118
if [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
119-
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/OCL_CPU
119+
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/WIN_OCL_CPU
120120
elif [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
121-
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/L0_GPU
121+
cts_exclude_filter=$PWD/sycl/cts_exclude_filter/WIN_L0_GPU
122122
fi
123123
124124
if [ -f "$cts_exclude_filter" ]; then
File renamed without changes.

sycl/cts_exclude_filter/WIN_L0_GPU

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Please use "#" to add comments here.
2+
# Do not delete the file even if it's empty.
3+
# https://github.com/intel/llvm/issues/19677
4+
range

0 commit comments

Comments
 (0)