From e6383dac82c1f1903c8adfd3c3ced09c554b1170 Mon Sep 17 00:00:00 2001 From: Felix Johnny Thomasmathibalan Date: Mon, 6 Jan 2025 16:50:51 +0000 Subject: [PATCH] Add missing feature check for unit tests Signed-off-by: Felix Johnny Thomasmathibalan --- test/tests/matmul_clamp_f32_qai8dxp_qsi4c32p_test.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/tests/matmul_clamp_f32_qai8dxp_qsi4c32p_test.cpp b/test/tests/matmul_clamp_f32_qai8dxp_qsi4c32p_test.cpp index 403b85eb..7bc24ba0 100644 --- a/test/tests/matmul_clamp_f32_qai8dxp_qsi4c32p_test.cpp +++ b/test/tests/matmul_clamp_f32_qai8dxp_qsi4c32p_test.cpp @@ -1,5 +1,5 @@ // -// SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates +// SPDX-FileCopyrightText: Copyright 2024-2025 Arm Limited and/or its affiliates // // SPDX-License-Identifier: Apache-2.0 // @@ -77,6 +77,10 @@ TEST_P(MatMulTest_f32_qmatmul_clamp_f32_qai8dxp_qsi4c32p, Offset_RHS) { const auto& [variant_index, matmul_shape, bl, portion] = GetParam(); const auto& ukernel_variant = variants_kai_matmul_clamp_f32_qai8dxp_qsi4c32p.at(variant_index); + if (ukernel_variant.fn_is_supported && !ukernel_variant.fn_is_supported()) { + GTEST_SKIP(); + } + const size_t K = matmul_shape.k; const auto nr = ukernel_variant.interface.get_nr(); const auto kr = ukernel_variant.interface.get_kr(); @@ -104,6 +108,10 @@ TEST_P(MatMulTest_f32_qmatmul_clamp_f32_qai8dxp_qsi4c32p, Offset_LHS) { const auto& [variant_index, matmul_shape, bl, portion] = GetParam(); const auto& ukernel_variant = variants_kai_matmul_clamp_f32_qai8dxp_qsi4c32p.at(variant_index); + if (ukernel_variant.fn_is_supported && !ukernel_variant.fn_is_supported()) { + GTEST_SKIP(); + } + const size_t K = matmul_shape.k; auto m_step = ukernel_variant.interface.get_m_step(); -- GitLab