Skip to content

Commit eb5de11

Browse files
[SYCL][E2E] Use %O0 instead of -O0 in Compression tests (intel#15919)
Few Compression E2E tests fails with `clang-cl` because they use `-O0`. This PR updates the tests to use `%O0` instead. Internal ticket: CMPLRTST-25990
1 parent c50ebfa commit eb5de11

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// End-to-End test for testing device image compression.
22
// REQUIRES: zstd
33

4-
// RUN: %{build} -O0 -g %S/Inputs/single_kernel.cpp -o %t_not_compress.out
5-
// RUN: %{build} -O0 -g --offload-compress --offload-compression-level=3 %S/Inputs/single_kernel.cpp -o %t_compress.out
4+
// RUN: %{build} %O0 -g %S/Inputs/single_kernel.cpp -o %t_not_compress.out
5+
// RUN: %{build} %O0 -g --offload-compress --offload-compression-level=3 %S/Inputs/single_kernel.cpp -o %t_compress.out
66
// RUN: %{run} %t_not_compress.out
77
// RUN: %{run} %t_compress.out
88
// RUN: not diff %t_not_compress.out %t_compress.out
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// End-to-End test for testing device image compression in AOT.
22
// REQUIRES: zstd, opencl-aot, cpu
33

4-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 -O0 --offload-compress --offload-compression-level=3 %S/Inputs/single_kernel.cpp -o %t_compress.out
4+
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %O0 --offload-compress --offload-compression-level=3 %S/Inputs/single_kernel.cpp -o %t_compress.out
55
// RUN: %{run} %t_compress.out

0 commit comments

Comments
 (0)