Remove blocks of codes / files which are marked as INTERNAL_ONLY and Disable validati...
authorManuel Bottini <manuel.bottini@arm.com>
Thu, 21 May 2020 14:56:41 +0000 (15:56 +0100)
committerManuel Bottini <manuel.bottini@arm.com>
Thu, 21 May 2020 14:56:41 +0000 (15:56 +0100)
Change-Id: Ic45589643bebfb6db748d25db5bca48def297193
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
SConstruct
tests/SConscript

index 668e9a73d97a102a2ca3208f0e169908b8ea4b7f..a0f652093930a9c8200be2e05802e85b32a31c35 100644 (file)
@@ -62,8 +62,6 @@ vars.AddVariables(
     PathVariable("install_dir", "Specify sub-folder for the install", "", PathVariable.PathAccept),
     BoolVariable("exceptions", "Enable/disable C++ exception support", True),
     PathVariable("linker_script", "Use an external linker script", "", PathVariable.PathAccept),
-    #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", ""),
     ("compiler_prefix", "Override the compiler prefix", ""),
     ("extra_cxx_flags", "Extra CXX flags to be appended to the build command", ""),
index 26d422c10be927c0b992647a9590d2e4bd14b416..8634f5c410d43841fc2d528e7f10792652641ec8 100644 (file)
@@ -32,8 +32,8 @@ variables = [
     BoolVariable("validate_examples", "Build validate examples programs", True),
     BoolVariable("reference_openmp", "Build reference validation with openmp", True),
     #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")
 ]
 
@@ -88,10 +88,6 @@ else:
 if env['os'] in ['bare_metal']:
     Import("bootcode_o")
 
-#FIXME Delete before release
-if env['internal_only']:
-    test_env.Append(CPPDEFINES=['INTERNAL_ONLY'])
-
 test_env.Append(CPPPATH = ["#3rdparty/include"])
 test_env.Append(LIBPATH = ["#3rdparty/%s/%s" % (env['os'], env['arch'])])