diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-07-26 15:12:47 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-07-30 12:24:14 +0100 |
commit | 986c186468e6023b234c24bd10ed9687f9eea0da (patch) | |
tree | 0f78d3221922a5730f13d8348cc930a9d0a63351 /src/backends/backendsCommon/test/TestSharedObject.cpp | |
parent | 1a81630bd9e633150be51366b4a01f9e859f84a8 (diff) | |
download | armnn-986c186468e6023b234c24bd10ed9687f9eea0da.tar.gz |
IVGCVSW-3555 Add unit tests for the dynamic backend utility functions
* Added a test library to exercise the utility functions that
handle the shared objects
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Change-Id: Ic8095febca2a46050831eb42f55a714f3ae3bfe3
Diffstat (limited to 'src/backends/backendsCommon/test/TestSharedObject.cpp')
-rw-r--r-- | src/backends/backendsCommon/test/TestSharedObject.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/backends/backendsCommon/test/TestSharedObject.cpp b/src/backends/backendsCommon/test/TestSharedObject.cpp new file mode 100644 index 0000000000..d6b593c4d8 --- /dev/null +++ b/src/backends/backendsCommon/test/TestSharedObject.cpp @@ -0,0 +1,21 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#include "TestSharedObject.hpp" + +int TestFunction1(int i) +{ + return i; +} + +int TestFunction2(int i) +{ + return i; +} + +int TestFunction3(int i) +{ + return i; +} |