From c33882d1369927ad02f665b273af129c89834229 Mon Sep 17 00:00:00 2001 From: Ferran Balaguer Date: Wed, 21 Aug 2019 13:59:13 +0100 Subject: [PATCH] IVGCVSW-3668 Fix Android issue running Ref Import tests Signed-off-by: Ferran Balaguer Change-Id: I64f82c0e3c5cddcaebe0d5001020880a759ec444 --- src/backends/reference/test/RefTensorHandleTests.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backends/reference/test/RefTensorHandleTests.cpp b/src/backends/reference/test/RefTensorHandleTests.cpp index 19b669b..8de03cf 100644 --- a/src/backends/reference/test/RefTensorHandleTests.cpp +++ b/src/backends/reference/test/RefTensorHandleTests.cpp @@ -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 memoryManager = std::make_shared(); @@ -97,4 +99,6 @@ BOOST_AUTO_TEST_CASE(MisalignedPointer) delete[] testPtr; } +#endif + BOOST_AUTO_TEST_SUITE_END() \ No newline at end of file -- 2.7.4