Skip to content

Commit

Permalink
Skip crashing shortfin python tests on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Oct 16, 2024
1 parent e700bfa commit d6f7a88
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions shortfin/tests/api/array_storage_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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):
Expand All @@ -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",
[
Expand Down

0 comments on commit d6f7a88

Please sign in to comment.