Skip to content

Commit 898a87f

Browse files
committed
Skip FMI import test on Windows for now
1 parent 8f50f2e commit 898a87f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

tests/test_FMIImport.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
import os
23
import shutil
34

@@ -6,6 +7,10 @@
67

78
import OMPython
89

10+
skip_on_windows = pytest.mark.skipif(
11+
sys.platform.startswith("win"),
12+
reason="OpenModelica FMI import is currently broken on Windows.",
13+
)
914

1015
@pytest.fixture
1116
def model_firstorder(tmp_path):
@@ -19,7 +24,7 @@ def model_firstorder(tmp_path):
1924
""")
2025
return mod
2126

22-
27+
@skip_on_windows
2328
def test_FMIImport(model_firstorder):
2429
# create model & simulate it
2530
mod1 = OMPython.ModelicaSystemOMC()

0 commit comments

Comments
 (0)