aboutsummaryrefslogtreecommitdiff
path: root/tests/test_cli_main.py
diff options
context:
space:
mode:
authorBenjamin Klimczak <benjamin.klimczak@arm.com>2022-10-25 18:12:34 +0100
committerBenjamin Klimczak <benjamin.klimczak@arm.com>2022-11-10 16:47:22 +0000
commite40a7adadd254e29d71af38f69a0a20ff4871eef (patch)
tree9a57ddf406846785683673565359d9bd6ba3cf0b /tests/test_cli_main.py
parent720839a2dc6d4d75cd7aa77f83fcd49bcf114ba6 (diff)
downloadmlia-e40a7adadd254e29d71af38f69a0a20ff4871eef.tar.gz
MLIA-411 Report Cortex-A operator compatibility
Check input model for Arm NN TensorFlow Lite Delegate 22.08 support. Change-Id: I1253c4c0b294c5283e08f0a39561b922ef0f62e6
Diffstat (limited to 'tests/test_cli_main.py')
-rw-r--r--tests/test_cli_main.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/test_cli_main.py b/tests/test_cli_main.py
index 78adc53..4b16ac5 100644
--- a/tests/test_cli_main.py
+++ b/tests/test_cli_main.py
@@ -250,6 +250,21 @@ def test_default_command(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> Non
evaluate_on=["some_backend"],
),
],
+ [
+ [
+ "operators",
+ "sample_model.h5",
+ "--target-profile",
+ "cortex-a",
+ ],
+ call(
+ ctx=ANY,
+ target_profile="cortex-a",
+ model="sample_model.h5",
+ output=None,
+ supported_ops_report=False,
+ ),
+ ],
],
)
def test_commands_execution(