From d6f7a88d154842cf317fd98397a79eddee2957ce Mon Sep 17 00:00:00 2001 From: Scott Todd Date: Wed, 16 Oct 2024 13:56:40 -0700 Subject: [PATCH] Skip crashing shortfin python tests on Windows. --- shortfin/tests/api/array_storage_test.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/shortfin/tests/api/array_storage_test.py b/shortfin/tests/api/array_storage_test.py index 24055b031..d65452013 100644 --- a/shortfin/tests/api/array_storage_test.py +++ b/shortfin/tests/api/array_storage_test.py @@ -5,6 +5,7 @@ # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import pytest +import sys import shortfin as sf import shortfin.array as sfnp @@ -68,6 +69,9 @@ async def main(): lsys.run(main()) +@pytest.mark.skipif( + sys.platform == "win32", reason="Windows fatal exception: access violation" +) def test_fill_error(device): s = sfnp.storage.allocate_host(device, 8) with pytest.raises(RuntimeError): @@ -80,6 +84,9 @@ def test_fill_error(device): s.fill(b"01234567") +@pytest.mark.skipif( + sys.platform == "win32", reason="Windows fatal exception: access violation" +) @pytest.mark.parametrize( "pattern,size", [