Skip to content

Commit e876532

Browse files
authored
[SYCL][E2E] Add an env var to run on Windows (#13822)
SYCL_ENABLE_DEFAULT_CONTEXTS=1 is needed to run on Windows.
1 parent 2405942 commit e876532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test-e2e/AbiNeutral/device-info.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %{build} -o %t.out
2-
// RUN: %{run} %t.out
2+
// RUN: env SYCL_ENABLE_DEFAULT_CONTEXTS=1 %{run} %t.out
33
// RUN: %if preview-breaking-changes-supported %{ %{build} -fpreview-breaking-changes -D_GLIBCXX_USE_CXX11_ABI=0 -o %t2.out %}
4-
// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
4+
// RUN: %if preview-breaking-changes-supported %{ env SYCL_ENABLE_DEFAULT_CONTEXTS=1 %{run} %t2.out %}
55

66
// This test case tests if compiling works with or without
77
// _GLIBCXX_USE_CXX11_ABI=0.

0 commit comments

Comments
 (0)