From c4ae218fc10167db4189dbd42a0a592ee4b1bfb4 Mon Sep 17 00:00:00 2001 From: Mikael Olsson Date: Thu, 12 Oct 2023 15:29:30 +0200 Subject: Remove out of date UAPI protocol version test The UAPI used in the protocol version test to request the Linux kernel NPU driver to get the protocol version, no longer exists so the test has been removed. Change-Id: I9b60e3a733bc59a7180d40dbf908ca093452db61 Signed-off-by: Mikael Olsson --- tests/run_inference_test.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/tests/run_inference_test.cpp b/tests/run_inference_test.cpp index 94bb499..ef2266e 100644 --- a/tests/run_inference_test.cpp +++ b/tests/run_inference_test.cpp @@ -1,6 +1,5 @@ /* - * Copyright (c) 2022 Arm Limited. - * + * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the License); you may @@ -48,15 +47,6 @@ void testPing(const Device &device) { TEST_ASSERT(r == 0); } -void testVersion(const Device &device) { - int r; - try { - r = device.ioctl(ETHOSU_IOCTL_VERSION_REQ); - } catch (std::exception &e) { throw TestFailureException("Version test: ", e.what()); } - - TEST_ASSERT(r == 0); -} - void testCapabilties(const Device &device) { Capabilities capabilities; try { @@ -149,7 +139,6 @@ int main() { try { testPing(device); - testVersion(device); testCapabilties(device); testNetworkInfoNotExistentIndex(device); testNetworkInfoBuffer(device); -- cgit v1.2.1