From e876532170f8340d679847a93234683bd56d3a4d Mon Sep 17 00:00:00 2001 From: Byoungro So Date: Thu, 30 May 2024 08:07:07 -0700 Subject: [PATCH] [SYCL][E2E] Add an env var to run on Windows (#13822) 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 d9d294fa9974f..f5affc9690bfe 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.