From 2933557eb392c1da5a96c2b87b147298fefbb5f5 Mon Sep 17 00:00:00 2001 From: Byoungro So Date: Fri, 17 May 2024 10:16:06 -0700 Subject: [PATCH] [SYCL][TEST-E2E] Add an env var to run on Windows SYCL_ENABLE_DEFAULT_CONTEXTS=1 is needed to run on Windows. --- sycl/test-e2e/AbiNeutral/device-info.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/test-e2e/AbiNeutral/device-info.cpp b/sycl/test-e2e/AbiNeutral/device-info.cpp index ac4efd134a136..41fa9e7fd82c5 100644 --- a/sycl/test-e2e/AbiNeutral/device-info.cpp +++ b/sycl/test-e2e/AbiNeutral/device-info.cpp @@ -1,7 +1,7 @@ // RUN: %{build} -o %t.out -// RUN: %{run} %t.out +// RUN: env SYCL_ENABLE_DEFAULT_CONTEXTS=1 %{run} %t.out // RUN: %if preview-breaking-changes-supported %{ %{build} -fpreview-breaking-changes -D_GLIBCXX_USE_CXX11_ABI=0 -o %t2.out %} -// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %} +// RUN: %if preview-breaking-changes-supported %{ env SYCL_ENABLE_DEFAULT_CONTEXTS=1 %{run} %t2.out %} // This test case tests if compiling works with or without // _GLIBCXX_USE_CXX11_ABI=0.