Skip to content

Commit b6c64ac

Browse files
committed
[SYCL][Compat] Fix launch_policy_neg test on Windows
An MSVC compiler update changed the assertion message slightly, the test needed a simple update. Fixes intel#17116
1 parent 80a1ff0 commit b6c64ac

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sycl/test/syclcompat/launch/launch_policy_neg.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
* Description:
2020
* Negative tests for new launch_policy.
2121
**************************************************************************/
22-
// UNSUPPORTED: windows
23-
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17116
22+
2423
// RUN: not %clangxx -fsycl -fsyntax-only %s -DCHECK1 2>&1 | FileCheck -vv %s --check-prefixes=CHECK1
2524
// RUN: not %clangxx -fsycl -fsyntax-only %s -DCHECK2 2>&1 | FileCheck -vv %s --check-prefixes=CHECK2
2625
// RUN: not %clangxx -fsycl -fsyntax-only %s -DCHECK3 2>&1 | FileCheck -vv %s --check-prefixes=CHECK3
@@ -148,7 +147,7 @@ void test_variadic_config_ctor() {
148147
sycl::nd_range<3> launch_range{{1, 1, 32}, {1, 1, 32}};
149148
compat_exp::local_mem_size lmem_size(0);
150149
compat_exp::launch_policy duplicate_local_mem_config(launch_range, lmem_size, lmem_size);
151-
//CHECK8: error: static assertion failed due to requirement{{.*(exactly once|duplicate type)}}
150+
//CHECK8: error: static assertion failed{{.*(exactly once|duplicate type)}}
152151
}
153152
#endif
154153
#ifdef CHECK9

0 commit comments

Comments
 (0)