[PyOV] Fix error handling for Debug builds and extend configs for CI (#12417)
This commit is contained in:
@@ -131,7 +131,7 @@ def pytest_configure(config):
|
||||
config.addinivalue_line("markers", "skip_on_hetero: Skip test on HETERO")
|
||||
config.addinivalue_line("markers", "skip_on_template: Skip test on TEMPLATE")
|
||||
config.addinivalue_line("markers", "onnx_coverage: Collect ONNX operator coverage")
|
||||
config.addinivalue_line("markers", "template_extension")
|
||||
config.addinivalue_line("markers", "template_plugin")
|
||||
config.addinivalue_line("markers", "dynamic_library: Runs tests only in dynamic libraries case")
|
||||
|
||||
|
||||
|
||||
@@ -345,6 +345,7 @@ def test_direct_infer(device):
|
||||
assert np.array_equal(ref[comp_model.outputs[0]], res[comp_model.outputs[0]])
|
||||
|
||||
|
||||
@pytest.mark.template_plugin()
|
||||
def test_compiled_model_after_core_destroyed(device):
|
||||
core = Core()
|
||||
with open(test_net_bin, "rb") as f:
|
||||
|
||||
@@ -322,7 +322,7 @@ def test_unregister_plugin(device):
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.template_extension()
|
||||
@pytest.mark.template_plugin()
|
||||
def test_add_extension_template_extension(device):
|
||||
core, model = get_model_with_template_extension()
|
||||
assert isinstance(model, Model)
|
||||
|
||||
Reference in New Issue
Block a user