Skip to content

Commit e7e3b96

Browse files
[E2E] Fix no_zstd_warning.cpp when built with clang-cl (#16002)
Currently, when this test is built with a compiler that accepts MSVC-style flags, compilation fails because `-O0` is unrecognized. This PR updates the test to replace `-O0` with `%O0`. Internal bug report: CMPLRTST-26037
1 parent dc181bb commit e7e3b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// using --offload-compress without zstd should throw an error.
22
// REQUIRES: !zstd
3-
// RUN: not %{build} -O0 -g --offload-compress %S/Inputs/single_kernel.cpp -o %t_compress.out 2>&1 | FileCheck %s
3+
// RUN: not %{build} %O0 -g --offload-compress %S/Inputs/single_kernel.cpp -o %t_compress.out 2>&1 | FileCheck %s
44
// CHECK: '--offload-compress' option is specified but zstd is not available. The device image will not be compressed.

0 commit comments

Comments
 (0)