Skip to content

Commit f6f2c6b

Browse files
[SYCL] Disable self-contained-headers test on Windows (#19973)
The test is flaky and has no value in general. --------- Co-authored-by: Andrei Elovikov <andrei.elovikov@intel.com>
1 parent db9f837 commit f6f2c6b

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

sycl/test/self-contained-headers/lit.local.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,4 @@ config.test_format = SYCLHeadersTest()
77
# standalone. `os.path.join` is required here so the filtering works
88
# cross-platform
99
config.sycl_headers_xfail = [
10-
# FIXME: remove this rule when the header is moved to the clang project
11-
os.path.join(
12-
"sycl", "stl_wrappers", "__sycl_cmath_wrapper_impl.hpp"
13-
),
1410
]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: %clangxx -fsycl -fsyntax-only -Xclang -verify %s
2+
// expected-no-diagnostics
3+
//
4+
// XFAIL: !system-windows
5+
// UNSUPPORTED: system-windows
6+
// Different versions of STL implementations by Microsoft either implicitly
7+
// include cmath or not. It means the test result depends on the system
8+
// environment.
9+
10+
// TODO: Longer term that header should really be moved to the clang project.
11+
#include <sycl/stl_wrappers/__sycl_cmath_wrapper_impl.hpp>

0 commit comments

Comments
 (0)