aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin May <kevin.may@arm.com>2022-11-22 11:58:05 +0000
committerColm Donelan <colm.donelan@arm.com>2022-11-30 21:45:25 +0000
commit1bbfaca49661bb945b199d848b48678f2b44e655 (patch)
tree752888f1e1c1e2d054fb7fd6ddb8ae54e54e8cd6
parentb3a3d9118696ade5765f04cb53576886171ca6d7 (diff)
downloadarmnn-1bbfaca49661bb945b199d848b48678f2b44e655.tar.gz
IVGCVSW-7220 Remove referencetests repo and testing of it
* Remove mentions of reference tests Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Idd3c8b2e48f03531b1ec6cc67fd3bd32e50086c3
-rw-r--r--cmake/GlobalConfig.cmake35
-rw-r--r--tests/InferenceTest.cpp2
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)