Skip to content

Commit c9963dc

Browse files
committed
Add XfailIfNoCorstone* to tests
Change-Id: Ie2307d9f4238ce75aa816946b132330490c3a441
1 parent b0a668a commit c9963dc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

backends/arm/test/models/test_mobilenet_v3_arm.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
from typing import Tuple
77

8+
import common
9+
import pytest
10+
811
import torch
912

1013
from executorch.backends.arm.test.tester.test_pipeline import (
@@ -27,13 +30,15 @@
2730
input_t = Tuple[torch.Tensor]
2831

2932

33+
@pytest.mark.slow
3034
def test_mv3_tosa_MI():
3135
pipeline = TosaPipelineMI[input_t](
3236
mv3, model_inputs, aten_op=[], exir_op=[], use_to_edge_transform_and_lower=True
3337
)
3438
pipeline.run()
3539

3640

41+
@pytest.mark.slow
3742
def test_mv3_tosa_BI():
3843
pipeline = TosaPipelineBI[input_t](
3944
mv3,
@@ -47,6 +52,9 @@ def test_mv3_tosa_BI():
4752
pipeline.run()
4853

4954

55+
@pytest.mark.slow
56+
@pytest.mark.corstone_fvp
57+
@common.XfailIfNoCorstone300
5058
def test_mv3_u55_BI():
5159
pipeline = EthosU55PipelineBI[input_t](
5260
mv3,
@@ -61,6 +69,9 @@ def test_mv3_u55_BI():
6169
pipeline.run()
6270

6371

72+
@pytest.mark.slow
73+
@pytest.mark.corstone_fvp
74+
@common.XfailIfNoCorstone320
6475
def test_mv3_u85_BI():
6576
pipeline = EthosU85PipelineBI[input_t](
6677
mv3,

0 commit comments

Comments
 (0)