From 33a626f14c8db13967ba2a933388223d5bf733c3 Mon Sep 17 00:00:00 2001 From: Keith Davis Date: Thu, 27 Aug 2020 15:38:12 +0100 Subject: IVGCVSW-5231 Remove CreateTensorHandle in the test where there is NO_DEPRECATE_WARN * Done for all elementwise layers, Activation, BatchNorm, BatchToSpace Signed-off-by: Keith Davis Change-Id: Id1d15a0960233026aecf7a07e0d3f006e07e4abf --- src/armnn/test/UnitTests.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/armnn/test') diff --git a/src/armnn/test/UnitTests.hpp b/src/armnn/test/UnitTests.hpp index a77e25539a..e0505c9a9f 100644 --- a/src/armnn/test/UnitTests.hpp +++ b/src/armnn/test/UnitTests.hpp @@ -157,3 +157,9 @@ void CompareRefTestFunctionUsingTensorHandleFactory(const char* testName, TFuncP { \ CompareRefTestFunction(#TestName, &TestFunction, ##__VA_ARGS__); \ } + +#define ARMNN_COMPARE_REF_FIXTURE_TEST_CASE_WITH_THF(TestName, Fixture, TestFunction, ...) \ + BOOST_FIXTURE_TEST_CASE(TestName, Fixture) \ + { \ + CompareRefTestFunctionUsingTensorHandleFactory(#TestName, &TestFunction, ##__VA_ARGS__); \ + } -- cgit v1.2.1