From bade5f43373c4985889065be1f8052e264b722af Mon Sep 17 00:00:00 2001 From: Isabella Gottardi Date: Tue, 12 Feb 2019 14:22:49 +0000 Subject: Remove blocks of codes / files which are marked as INTERNAL_ONLY Disable validation and benchmark tests Change-Id: I39eadb38e4c317d7dd1f590b6abc6f124ac90fab Signed-off-by: Isabella Gottardi --- SConstruct | 2 -- tests/SConscript | 8 ++------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/SConstruct b/SConstruct index e6c89bc24b..7d396fabc8 100644 --- a/SConstruct +++ b/SConstruct @@ -56,8 +56,6 @@ vars.AddVariables( PathVariable("build_dir", "Specify sub-folder for the build", ".", PathVariable.PathAccept), PathVariable("install_dir", "Specify sub-folder for the install", "", PathVariable.PathAccept), BoolVariable("exceptions", "Enable/disable C++ exception support", True), - #FIXME Remove before release (And remove all references to INTERNAL_ONLY) - BoolVariable("internal_only", "Enable ARM internal only tests", False), ("toolchain_prefix", "Override the toolchain prefix", ""), ("extra_cxx_flags", "Extra CXX flags to be appended to the build command", ""), ("extra_link_flags", "Extra LD flags to be appended to the build command", ""), diff --git a/tests/SConscript b/tests/SConscript index 94b432c0ff..34720aae63 100644 --- a/tests/SConscript +++ b/tests/SConscript @@ -31,8 +31,8 @@ SConscript('./framework/SConscript', duplicate=0) # vars is imported from arm_compute: variables = [ #FIXME Switch the following two options to False before releasing - BoolVariable("validation_tests", "Build validation test programs", True), - BoolVariable("benchmark_tests", "Build benchmark test programs", True), + BoolVariable("validation_tests", "Build validation test programs", False), + BoolVariable("benchmark_tests", "Build benchmark test programs", False), ("test_filter", "Pattern to specify the tests' filenames to be compiled", "*.cpp") ] @@ -71,10 +71,6 @@ else: test_env.Append(LIBS = ["arm_compute_graph", "arm_compute", "arm_compute_core"]) arm_compute_lib = arm_compute_graph_so -#FIXME Delete before release -if env['internal_only']: - test_env.Append(CPPDEFINES=['INTERNAL_ONLY']) - common_files = Glob('*.cpp') common_objects = [test_env.StaticObject(f) for f in common_files] -- cgit v1.2.1