aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Olsson <mikael.olsson@arm.com>2023-10-12 15:29:30 +0200
committerMikael Olsson <mikael.olsson@arm.com>2023-11-03 14:22:44 +0100
commitc4ae218fc10167db4189dbd42a0a592ee4b1bfb4 (patch)
treef8513fe86cfde9dcd3e020c22bf1386dbcc8fac5
parentc1a418d61ab9930096b05517ae11655bf590c4b2 (diff)
downloadethos-u-linux-driver-stack-c4ae218fc10167db4189dbd42a0a592ee4b1bfb4.tar.gz
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 <mikael.olsson@arm.com>
-rw-r--r--tests/run_inference_test.cpp13
1 files changed, 1 insertions, 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 <open-source-office@arm.com>
* 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);