aboutsummaryrefslogtreecommitdiff
path: root/tests/test_target_registry.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_target_registry.py')
-rw-r--r--tests/test_target_registry.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_target_registry.py b/tests/test_target_registry.py
index e6ee296..e6028a9 100644
--- a/tests/test_target_registry.py
+++ b/tests/test_target_registry.py
@@ -1,4 +1,4 @@
-# SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
+# SPDX-FileCopyrightText: Copyright 2022-2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
"""Tests for the target registry module."""
from __future__ import annotations
@@ -26,11 +26,11 @@ def test_target_registry(expected_target: str) -> None:
@pytest.mark.parametrize(
("target_name", "expected_advices"),
(
- ("Cortex-A", [AdviceCategory.OPERATORS]),
+ ("Cortex-A", [AdviceCategory.COMPATIBILITY]),
(
"Ethos-U55",
[
- AdviceCategory.OPERATORS,
+ AdviceCategory.COMPATIBILITY,
AdviceCategory.OPTIMIZATION,
AdviceCategory.PERFORMANCE,
],
@@ -38,12 +38,12 @@ def test_target_registry(expected_target: str) -> None:
(
"Ethos-U65",
[
- AdviceCategory.OPERATORS,
+ AdviceCategory.COMPATIBILITY,
AdviceCategory.OPTIMIZATION,
AdviceCategory.PERFORMANCE,
],
),
- ("TOSA", [AdviceCategory.OPERATORS]),
+ ("TOSA", [AdviceCategory.COMPATIBILITY]),
),
)
def test_supported_advice(
@@ -72,7 +72,7 @@ def test_supported_backends(target_name: str, expected_backends: list[str]) -> N
@pytest.mark.parametrize(
("advice", "expected_targets"),
(
- (AdviceCategory.OPERATORS, ["Cortex-A", "Ethos-U55", "Ethos-U65", "TOSA"]),
+ (AdviceCategory.COMPATIBILITY, ["Cortex-A", "Ethos-U55", "Ethos-U65", "TOSA"]),
(AdviceCategory.OPTIMIZATION, ["Ethos-U55", "Ethos-U65"]),
(AdviceCategory.PERFORMANCE, ["Ethos-U55", "Ethos-U65"]),
),