Skip to content

Commit 5b1bce1

Browse files
[SYCL] fix for flaky Windows test link failures. (#7366)
I am not sure why these Windows link failures are flaky, but, regardless, we don't need to actually link anything for some of these tests. If the cause is the same as pull/7260 then this should fix it.
1 parent 6e4ae71 commit 5b1bce1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sycl/test/extensions/properties/properties_kernel_device_has.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl-device-only -S -Xclang -emit-llvm %s -o - | FileCheck %s --check-prefix CHECK-IR
2-
// RUN: %clangxx -fsycl -Xclang -verify %s
2+
// RUN: %clangxx -fsycl -fsyntax-only -Xclang -verify %s
33
// expected-no-diagnostics
44

55
#include <sycl/sycl.hpp>

sycl/test/extensions/properties/properties_kernel_device_has_macro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl-device-only -S -Xclang -emit-llvm %s -o - | FileCheck %s --check-prefix CHECK-IR
2-
// RUN: %clangxx -fsycl -Xclang -verify %s
2+
// RUN: %clangxx -fsycl -fsyntax-only -Xclang -verify %s
33
// expected-no-diagnostics
44

55
#include <sycl/sycl.hpp>

sycl/test/extensions/properties/properties_kernel_sub_group_size.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl-device-only -S -Xclang -emit-llvm %s -o - | FileCheck %s --check-prefix CHECK-IR
2-
// RUN: %clangxx -fsycl -Xclang -verify %s
2+
// RUN: %clangxx -fsycl -fsyntax-only -Xclang -verify %s
33
// expected-no-diagnostics
44

55
#include <sycl/sycl.hpp>

sycl/test/extensions/properties/properties_kernel_work_group_size.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl-device-only -S -Xclang -emit-llvm %s -o - | FileCheck %s --check-prefix CHECK-IR
2-
// RUN: %clangxx -fsycl -Xclang -verify %s
2+
// RUN: %clangxx -fsycl -fsyntax-only -Xclang -verify %s
33
// expected-no-diagnostics
44

55
#include <sycl/sycl.hpp>

0 commit comments

Comments
 (0)