From 1bbfaca49661bb945b199d848b48678f2b44e655 Mon Sep 17 00:00:00 2001 From: Kevin May Date: Tue, 22 Nov 2022 11:58:05 +0000 Subject: IVGCVSW-7220 Remove referencetests repo and testing of it * Remove mentions of reference tests Signed-off-by: Kevin May Change-Id: Idd3c8b2e48f03531b1ec6cc67fd3bd32e50086c3 --- cmake/GlobalConfig.cmake | 35 +++++++++++++++-------------------- tests/InferenceTest.cpp | 2 +- 2 files changed, 16 insertions(+), 21 deletions(-) diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake index fb70d1a0e0..5bedee92ea 100644 --- a/cmake/GlobalConfig.cmake +++ b/cmake/GlobalConfig.cmake @@ -385,26 +385,21 @@ endif() if(NOT BUILD_BARE_METAL) if(HEAP_PROFILING OR LEAK_CHECKING) - # enable heap profiling for everything except for referencetests - if(NOT ${PROJECT_NAME} STREQUAL "referencetests") - find_path(HEAP_PROFILER_INCLUDE gperftools/heap-profiler.h - PATHS ${GPERFTOOLS_ROOT}/include - NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) - include_directories(SYSTEM "${HEAP_PROFILER_INCLUDE}") - find_library(GPERF_TOOLS_LIBRARY - NAMES tcmalloc_debug - HINTS ${GPERFTOOLS_ROOT}/lib) - link_directories(${GPERFTOOLS_ROOT}/lib) - - link_libraries(${GPERF_TOOLS_LIBRARY}) - if (HEAP_PROFILING) - add_definitions("-DARMNN_HEAP_PROFILING_ENABLED=1") - endif() - if (LEAK_CHECKING) - add_definitions("-DARMNN_LEAK_CHECKING_ENABLED=1") - endif() - else() - message(STATUS "Heap profiling and leak checking are disabled for referencetests") + find_path(HEAP_PROFILER_INCLUDE gperftools/heap-profiler.h + PATHS ${GPERFTOOLS_ROOT}/include + NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH) + include_directories(SYSTEM "${HEAP_PROFILER_INCLUDE}") + find_library(GPERF_TOOLS_LIBRARY + NAMES tcmalloc_debug + HINTS ${GPERFTOOLS_ROOT}/lib) + link_directories(${GPERFTOOLS_ROOT}/lib) + + link_libraries(${GPERF_TOOLS_LIBRARY}) + if (HEAP_PROFILING) + add_definitions("-DARMNN_HEAP_PROFILING_ENABLED=1") + endif() + if (LEAK_CHECKING) + add_definitions("-DARMNN_LEAK_CHECKING_ENABLED=1") endif() else() # Valgrind only works with gperftools version number <= 2.4 diff --git a/tests/InferenceTest.cpp b/tests/InferenceTest.cpp index 5f2cf91a45..01b8983d23 100644 --- a/tests/InferenceTest.cpp +++ b/tests/InferenceTest.cpp @@ -23,7 +23,7 @@ namespace armnn { namespace test { -/// Parse the command line of an ArmNN (or referencetests) inference test program. +/// Parse the command line of an ArmNN inference test program. /// \return false if any error occurred during options processing, otherwise true bool ParseCommandLine(int argc, char** argv, IInferenceTestCaseProvider& testCaseProvider, InferenceTestOptions& outParams) -- cgit v1.2.1