aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2023-11-06Fix type validation in the network create UAPIMikael Olsson
Currently, the network create UAPI will assume that any network type that isn't a buffer is an index. This means that the Linux kernel NPU driver will accept any network type value and the user won't get any feedback that they have specified an incorrect type. To resolve this, the Linux kernel NPU driver will now return -EINVAL if an unknown network type is given and a test has been added to validate this behavior. Change-Id: Ib7d9f5d5451897787981aae61a4e0a6650a73e05 Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
2023-11-03Add UAPI NPU driver version testMikael Olsson
A test has been added to verify that the UAPI to get the Linux kernel NPU driver version returns the expected value. Change-Id: Ib401c13100b52d6fedd41831fe9e4d2ace1c4a2c Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
2023-11-03Remove out of date UAPI protocol version testMikael Olsson
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>
2022-09-08Add cancel inference testsDavide Grohmann
These tests are run with a special custom firmware Change-Id: I0dfcae1fbaa1287d4b52fd8f6c802bebb5248d3b
2022-08-29Add linux_driver_stack testsDavide Grohmann
Change-Id: I303f1424eb46576847312672f7ed5ac03c05aee1