IVGCVSW-3668 Fix Android issue running Ref Import tests
authorFerran Balaguer <ferran.balaguer@arm.com>
Wed, 21 Aug 2019 12:59:13 +0000 (13:59 +0100)
committerFerran Balaguer Arm <ferran.balaguer@arm.com>
Thu, 22 Aug 2019 16:03:51 +0000 (16:03 +0000)
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com>
Change-Id: I64f82c0e3c5cddcaebe0d5001020880a759ec444

src/backends/reference/test/RefTensorHandleTests.cpp

index 19b669b..8de03cf 100644 (file)
@@ -45,6 +45,8 @@ BOOST_AUTO_TEST_CASE(AcquireAndRelease)
     memoryManager->Release();
 }
 
+#if !defined(__ANDROID__)
+// Only run these tests on non Android platforms
 BOOST_AUTO_TEST_CASE(CheckSourceType)
 {
     std::shared_ptr<RefMemoryManager> memoryManager = std::make_shared<RefMemoryManager>();
@@ -97,4 +99,6 @@ BOOST_AUTO_TEST_CASE(MisalignedPointer)
     delete[] testPtr;
 }
 
+#endif
+
 BOOST_AUTO_TEST_SUITE_END()
\ No newline at end of file