From 1d78717b987ff276daf83b7d174afc59adebdb46 Mon Sep 17 00:00:00 2001 From: "Neil R. Spruit" Date: Thu, 24 Oct 2024 09:11:37 -0700 Subject: [PATCH] [SYCL][E2E] Fix free memory query tests to expect pass only on Linux for new functionality Signed-off-by: Neil R. Spruit --- sycl/test-e2e/Basic/get_info_aspect.cpp | 2 ++ sycl/test-e2e/Plugin/level_zero_device_free_mem.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sycl/test-e2e/Basic/get_info_aspect.cpp b/sycl/test-e2e/Basic/get_info_aspect.cpp index 77d50d332cf2f..263ef3cfa638c 100644 --- a/sycl/test-e2e/Basic/get_info_aspect.cpp +++ b/sycl/test-e2e/Basic/get_info_aspect.cpp @@ -1,6 +1,8 @@ /* This test checks that get_info checks its aspect and passes without ZES_ENABLE_SYSMAN=1.*/ // REQUIRES: gpu-intel-dg2, level_zero // RUN: %{build} -o %t.out +// XFAIL: windows +// XFAIL-TRACKER: URLZA-420 // RUN: env ZES_ENABLE_SYSMAN=0 %{run} %t.out // Explicitly set 'ZES_ENABLE_SYSMAN=0'. HWLOC initializes this environment // variable in its constructor, causing this test to fail, as retrieving diff --git a/sycl/test-e2e/Plugin/level_zero_device_free_mem.cpp b/sycl/test-e2e/Plugin/level_zero_device_free_mem.cpp index 6b8b4cc7d7767..d70c51cb303e8 100644 --- a/sycl/test-e2e/Plugin/level_zero_device_free_mem.cpp +++ b/sycl/test-e2e/Plugin/level_zero_device_free_mem.cpp @@ -12,7 +12,7 @@ // // RUN: %{build} %level_zero_options -o %t.out // RUN: env ZES_ENABLE_SYSMAN=1 %{run} %t.out 2>&1 | FileCheck %s -// RUN: env ZES_ENABLE_SYSMAN=0 %{run} %t.out 2>&1 | FileCheck %s +// RUN: %if linux %{ env ZES_ENABLE_SYSMAN=0 %{run} %t.out 2>&1 | FileCheck %s %} // // The test is to check that the free device memory is reported by Level Zero // backend both with and without the sysman environment variable.