From ceae3aa1b619161d49fd2847d3c73d6a858b2b8c Mon Sep 17 00:00:00 2001 From: Aron Virginas-Tar Date: Thu, 18 Oct 2018 10:39:38 +0100 Subject: IVGCVSW-2005: Pull in backend specific unit tests into Android.mk similarly as backend sources Change-Id: Icafc644b64c591f4dc0e1560d02b806bf053a2da --- src/backends/aclCommon/test/MemCopyTests.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/backends/aclCommon/test') diff --git a/src/backends/aclCommon/test/MemCopyTests.cpp b/src/backends/aclCommon/test/MemCopyTests.cpp index 7e503b1cdb..d8b407d1bc 100644 --- a/src/backends/aclCommon/test/MemCopyTests.cpp +++ b/src/backends/aclCommon/test/MemCopyTests.cpp @@ -9,11 +9,12 @@ #if ARMCOMPUTECL_ENABLED && ARMCOMPUTENEON_ENABLED #include +#include #endif #include -BOOST_AUTO_TEST_SUITE(MemCopyTestSuite) +BOOST_AUTO_TEST_SUITE(MemCopyCommon) BOOST_AUTO_TEST_CASE(AclTypeConversions) { @@ -34,8 +35,12 @@ BOOST_AUTO_TEST_CASE(AclTypeConversions) BOOST_TEST(convertedshape[3] == 5); } +BOOST_AUTO_TEST_SUITE_END() + #if ARMCOMPUTECL_ENABLED && ARMCOMPUTENEON_ENABLED +BOOST_FIXTURE_TEST_SUITE(MemCopyClNeon, ClContextControlFixture) + BOOST_AUTO_TEST_CASE(CopyBetweenNeonAndGpu) { LayerTestResult result = MemCopyTest(false); @@ -60,6 +65,6 @@ BOOST_AUTO_TEST_CASE(CopyBetweenGpuAndNeonWithSubtensors) BOOST_TEST(CompareTensors(result.output, result.outputExpected)); } -#endif - BOOST_AUTO_TEST_SUITE_END() + +#endif \ No newline at end of file -- cgit v1.2.1