From 92c14abf5160e83e98b5e08702234105c91a8536 Mon Sep 17 00:00:00 2001 From: Siddartha Pothapragada Date: Fri, 17 Jul 2026 14:02:55 -0700 Subject: [PATCH] Remove 16 redundant skipped test stubs in test_scalars.py Summary: These test functions are empty stubs (body=pass) that are permanently skipped because their functionality is tested by the corresponding _tosa_INT and _tosa_BI tests. Removing them reduces the ai_infra_mobile_platform oncall's SKIPPING count by 16. Differential Revision: D112509983 --- backends/arm/test/ops/test_scalars.py | 49 ++------------------------- 1 file changed, 3 insertions(+), 46 deletions(-) diff --git a/backends/arm/test/ops/test_scalars.py b/backends/arm/test/ops/test_scalars.py index 11f2f468daf..5341768d3a1 100644 --- a/backends/arm/test/ops/test_scalars.py +++ b/backends/arm/test/ops/test_scalars.py @@ -231,17 +231,6 @@ def test_add_scalar_tosa_INT(test_data): pipeline.run() -# ADD ETHOS-U ------------------------------------------------------ -@pytest.mark.skip(reason="This is tested in test_add_scalar_tosa_INT") -def test_add_scalar_u55_INT(): - pass - - -@pytest.mark.skip(reason="This is tested in test_add_scalar_tosa_INT") -def test_add_scalar_u85_INT(): - pass - - # SUB FP ------------------------------------------------------ @@ -290,17 +279,6 @@ def test_sub_scalar_tosa_INT(test_data): pipeline.run() -# SUB ETHOS-U ------------------------------------------------------ -@pytest.mark.skip(reason="This is tested in test_sub_scalar_tosa_INT") -def test_sub_scalar_u55_INT(): - pass - - -@pytest.mark.skip(reason="This is tested in test_sub_scalar_tosa_INT") -def test_sub_scalar_u85_INT(): - pass - - # MUL FP ------------------------------------------------------ @common.parametrize("test_data", tensor_scalar_tests, xfails=xfails) def test_mul_tensor_tosa_FP_scalar(test_data): @@ -347,17 +325,6 @@ def test_mul_scalar_tosa_INT(test_data): pipeline.run() -# MUL ETHOS-U ------------------------------------------------------ -@pytest.mark.skip(reason="This is tested in test_mul_scalar_tosa_INT") -def test_mul_scalar_u55_INT(): - pass - - -@pytest.mark.skip(reason="This is tested in test_mul_scalar_tosa_INT") -def test_mul_scalar_u85_INT(): - pass - - # DIV FP ------------------------------------------------------ @common.parametrize("test_data", tensor_scalar_tests, xfails=xfails) def test_div_tensor_tosa_FP_scalar(test_data): @@ -412,20 +379,10 @@ def test_div_scalar_tosa_INT(test_data): pipeline.run() -# DIV ETHOS-U ------------------------------------------------------ -@pytest.mark.skip(reason="This is tested in test_div_scalar_tosa_INT") -def test_div_scalar_u55_INT(): - pass - - -@pytest.mark.skip(reason="This is tested in test_div_scalar_tosa_INT") -def test_div_scalar_u85_INT(): - pass - - # SHIFT ETHOS-U ------------------------------------------------------ -@pytest.mark.skip( - reason="integer operations (shift and sub) are not supported on FP profile" +@pytest.mark.xfail( + reason="integer operations (shift and sub) are not supported on FP profile", + strict=True, ) def test_bitwise_right_shift_tensor_tosa_FP_inplace(): pipeline = TosaPipelineFP[input_t1](