diff options
author | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-02-10 13:12:57 +0000 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-02-10 14:56:43 +0000 |
commit | 718277eaece76902c4950f18d428907b39a18ef1 (patch) | |
tree | 6fda1b8f8c2c0151f3697a2e9f31c2f5551cc2ff /tests/test_cli_command_validators.py | |
parent | fa1fad9332e2912f12a44a1b07716ee434174308 (diff) | |
download | mlia-718277eaece76902c4950f18d428907b39a18ef1.tar.gz |
MLIA-769 Add "pretty names" for targets / backends
- Provide "pretty names" to print information for targets and backends.
- Use 'target_config' instead of 'target' if a target profile is
used.
- Fix minor issue in output regarding the output directory.
Change-Id: Ib38231f30b4d609a0d1e8f9c52b2fb547c69cb6a
Diffstat (limited to 'tests/test_cli_command_validators.py')
-rw-r--r-- | tests/test_cli_command_validators.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/test_cli_command_validators.py b/tests/test_cli_command_validators.py index 29813f4..1ac82db 100644 --- a/tests/test_cli_command_validators.py +++ b/tests/test_cli_command_validators.py @@ -109,17 +109,17 @@ def test_validate_check_target_profile( ], [ "tosa", - ["Corstone-310"], + ["corstone-310"], True, - "Backend Corstone-310 not supported with target-profile tosa.", + "Backend corstone-310 not supported with target-profile tosa.", None, ], [ "cortex-a", - ["ArmNNTFLiteDelegate"], + ["armnn-tflite-delegate"], False, None, - ["ArmNNTFLiteDelegate"], + ["armnn-tflite-delegate"], ], [ "cortex-a", @@ -130,14 +130,14 @@ def test_validate_check_target_profile( ], [ "ethos-u55-256", - ["Vela", "Corstone-310"], + ["vela", "corstone-310"], False, None, - ["Vela", "Corstone-310"], + ["vela", "corstone-310"], ], [ "ethos-u65-256", - ["Vela", "Corstone-310", "tosa-checker"], + ["vela", "corstone-310", "tosa-checker"], True, "Backend tosa-checker not supported with target-profile ethos-u65-256.", None, |