diff options
author | Benedetta Delfino <benni.delfino@arm.com> | 2024-02-28 17:38:42 +0000 |
---|---|---|
committer | Benedetta Delfino <benedetta.delfino@arm.com> | 2024-03-11 17:31:30 +0000 |
commit | 2ba39623502551ec073fbc67b59e0458af084c7e (patch) | |
tree | 7fd8093fef683d846664d0e139eb5edb6853d8cc /tests_e2e | |
parent | 2e9dc4cf750a7ae18f87abd174aa7b5be40a7d37 (diff) | |
download | mlia-2ba39623502551ec073fbc67b59e0458af084c7e.tar.gz |
feat: Add support for Arm Corstone-300 and Corstone-310 on AArch64
- Add support for Corstone-300 download on AArch64
- Add support for Corstone-310 download on AArch64
- Add support for Corstone-310 download on x86
- Add e2e tests and unit tests
- Edited README.md to reflect updates
Resolves: MLIA-1017
Signed-off-by: Benedetta Delfino <benedetta.delfino@arm.com>
Change-Id: I8d54a721f91d67123f65c076313cef12b7df92bd
Diffstat (limited to 'tests_e2e')
-rw-r--r-- | tests_e2e/test_e2e.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests_e2e/test_e2e.py b/tests_e2e/test_e2e.py index 602a653..74ff51c 100644 --- a/tests_e2e/test_e2e.py +++ b/tests_e2e/test_e2e.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright 2022-2023, Arm Limited and/or its affiliates. +# SPDX-FileCopyrightText: Copyright 2022-2024, Arm Limited and/or its affiliates. # SPDX-License-Identifier: Apache-2.0 """End to end tests for MLIA CLI.""" from __future__ import annotations @@ -20,6 +20,7 @@ from typing import Sequence import pytest +from mlia.backend.config import System from mlia.backend.manager import get_available_backends from mlia.cli.main import get_commands from mlia.cli.main import get_possible_command_names @@ -251,11 +252,16 @@ def get_all_commands_combinations( def check_args(args: list[str], no_skip: bool) -> None: """Check the arguments and skip/fail test cases based on that.""" parser = argparse.ArgumentParser() + parser.add_argument( "--backend", help="Backends to use for evaluation.", action="append", ) + parser.add_argument( + "--target-profile", + help="Target profiles to use for evaluation.", + ) parsed_args, _ = parser.parse_known_args(args) if parsed_args.backend: @@ -266,6 +272,10 @@ def check_args(args: list[str], no_skip: bool) -> None: if missing_backends and not no_skip: pytest.skip(f"Missing backend(s): {','.join(missing_backends)}") + if parsed_args.target_profile == "tosa": + if System.CURRENT == System.LINUX_AARCH64: + pytest.skip("TOSA is not yet available for AArch64, skipping this test.") + def get_execution_definitions( executions: dict, |