Skip to content

Commit 9b78f08

Browse files
authored
[SYCL][NFC] Disable warn to error in preprocess test (#20940)
The warn to error setting is not important for this test, as all we want to do is build the generated preprocessed file. Update the command line to use -Wno-error to allow for a successful compile. There is a possibility of certain generated preprocessed file conditions where warnings will be emitted that we want to not error on.
1 parent 2c613bb commit 9b78f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/NewOffloadDriver/preprocess_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// RUN: %{build} --offload-new-driver -E -o %t.ii
77

88
// Compile preprocessed file.
9-
// RUN: %clangxx -Wno-error=unused-command-line-argument -fsycl %{sycl_target_opts} --offload-new-driver %t.ii -o %t.out
9+
// RUN: %clangxx -Wno-error -fsycl %{sycl_target_opts} --offload-new-driver %t.ii -o %t.out
1010

1111
// RUN: %{run} %t.out
1212

0 commit comments

Comments
 (0)