|
|
@ -3,6 +3,7 @@ import pytest |
|
|
|
import stormpy._config as config |
|
|
|
|
|
|
|
# Skip not supported functionality |
|
|
|
has_xml = config.storm_with_xerces |
|
|
|
has_dft = config.storm_with_dft |
|
|
|
has_gspn = config.storm_with_gspn |
|
|
|
has_pars = config.storm_with_pars |
|
|
@ -15,6 +16,7 @@ try: |
|
|
|
except ImportError: |
|
|
|
has_numpy = False |
|
|
|
|
|
|
|
xml = pytest.mark.skipif(not has_xml, reason="No support for XML via xerces") |
|
|
|
dft = pytest.mark.skipif(not has_dft, reason="No support for DFTs") |
|
|
|
gspn = pytest.mark.skipif(not has_gspn, reason="No support for GSPNs") |
|
|
|
pars = pytest.mark.skipif(not has_pars, reason="No support for parametric model checking") |
|
|
|