From 0dfb2658ce521571aa0f9e859f813c60fda9d8d6 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Thu, 22 Jun 2023 10:19:17 +0100 Subject: IVGCVSW-7666 Add a FileComparisonExecutor to ExecuteNetwork. * Implement the "-C" command line option of executenetwork. * Add a FileComparisonExecutorFile which will read tensors from a previously written text file and compare them to the execution output. Signed-off-by: Colm Donelan Change-Id: I8380fd263028af13d65a67fb6afd89626d1b07b8 --- CMakeLists.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e53d45f81..a4199fe2d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -848,6 +848,9 @@ if(BUILD_UNIT_TESTS) if(BUILD_TESTS) list(APPEND unittest_sources + ./tests/ExecuteNetwork/FileComparisonExecutor.hpp + ./tests/ExecuteNetwork/FileComparisonExecutor.cpp + ./tests/ExecuteNetwork/test/FileComparisonExecutorTests.cpp ./tests/NetworkExecutionUtils/NetworkExecutionUtils.cpp ./tests/NetworkExecutionUtils/test/NetworkExecutionUtilsTests.cpp) endif() @@ -858,11 +861,11 @@ if(BUILD_UNIT_TESTS) endforeach() add_executable(UnitTests ${unittest_sources}) - target_include_directories(UnitTests PRIVATE src/armnn) - target_include_directories(UnitTests PRIVATE src/armnnUtils) - target_include_directories(UnitTests PRIVATE src/armnnTestUtils) - target_include_directories(UnitTests PRIVATE src/backends) - target_include_directories(UnitTests PRIVATE src/profiling) + target_include_directories(UnitTests PRIVATE delegate/common/include + src/armnn src/armnnUtils + src/armnnTestUtils src/backends + src/profiling + tests) if(VALGRIND_FOUND) if(HEAP_PROFILING OR LEAK_CHECKING) -- cgit v1.2.1