From c9b2578f5cd67233dc1c9ff7048ba0495c82139b Mon Sep 17 00:00:00 2001
From: "julia.roznova" <jroznova@smtp.intel.com>
Date: Wed, 27 Nov 2024 06:39:22 -0800
Subject: [PATCH] try to skip only gpu spmd tests

---
 tests/run_examples.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/run_examples.py b/tests/run_examples.py
index ba84c26968..f232f22794 100755
--- a/tests/run_examples.py
+++ b/tests/run_examples.py
@@ -206,8 +206,10 @@ def get_exe_cmd(ex, args):
         if args.nodaal4py:
             return None
         if not check_version(req_version[os.path.basename(ex)], get_daal_version()):
+            print("daal4py check_version return None");
             return None
-        if not check_library(req_library[os.path.basename(ex)]):
+        if not check_library(list(filter(lambda x: x!="dpctl", req_library[os.path.basename(ex)]))):
+            print("daal4py check_library return None");
             return None
 
     if os.path.dirname(ex).endswith("sklearnex"):