aboutsummaryrefslogtreecommitdiff
path: root/test/Concat.cpp
diff options
context:
space:
mode:
authorDavid Monahan <david.monahan@arm.com>2020-05-19 14:58:34 +0100
committerJan Eilers <jan.eilers@arm.com>2020-05-20 11:43:32 +0100
commitd275cb2fcb3b41928348a408f7eace4ff516ca8b (patch)
tree5a825089eb6c24cebb49b502e6c0404d7b79bd56 /test/Concat.cpp
parent813f23049d73177edfc1f1cff71147c39f4b695e (diff)
downloadandroid-nn-driver-d275cb2fcb3b41928348a408f7eace4ff516ca8b.tar.gz
IVGCVSW-IVGCVSW-4772 Fixes for android-nn-driver unit tests on Android R
* Added missing operand parameter numberOfConsumers to DriverTestHelpers * Added nullptr checks to unit tests * Disabling QuantizedLstmTest when ARMCOMPUTECL_ENABLED is undefined Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I46dc413d3bb1805eb0e7c982177b6d60d0b297f5
Diffstat (limited to 'test/Concat.cpp')
-rw-r--r--test/Concat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Concat.cpp b/test/Concat.cpp
index b99e31cc..b4b650fa 100644
--- a/test/Concat.cpp
+++ b/test/Concat.cpp
@@ -128,6 +128,7 @@ ConcatTestImpl(const std::vector<const TestTensor*> & inputs,
float* outdata = static_cast<float*>(static_cast<void*>(outMemory->getPointer()));
// run the execution
+ ARMNN_ASSERT(preparedModel.get() != nullptr);
auto execStatus = Execute(preparedModel, request, expectedExecStatus);
BOOST_TEST(execStatus == expectedExecStatus);