From f9a611a1fd309bb9a906c99eede5e6b7bceba26b Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Fri, 12 Mar 2021 11:22:55 +0000 Subject: Don't build tests by default Change-Id: I168a90227f08987639512f6820d79287a7d4b136 Signed-off-by: Michele Di Giorgio Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5313 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins --- docs/00_introduction.dox | 8 ++++---- tests/SConscript | 11 +++++------ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/00_introduction.dox b/docs/00_introduction.dox index ea0f9f7d43..00a5e93ce5 100644 --- a/docs/00_introduction.dox +++ b/docs/00_introduction.dox @@ -1535,19 +1535,19 @@ To see the build options available simply run ```scons -h```: default: rdimon.specs benchmark_examples: Build benchmark examples programs (yes|no) - default: True + default: False validate_examples: Build validate examples programs (yes|no) - default: True + default: False reference_openmp: Build reference validation with openmp (yes|no) default: True validation_tests: Build validation test programs (yes|no) - default: True + default: False benchmark_tests: Build benchmark test programs (yes|no) - default: True + default: False test_filter: Pattern to specify the tests' filenames to be compiled default: *.cpp diff --git a/tests/SConscript b/tests/SConscript index fea68e0fe9..d4cc514693 100644 --- a/tests/SConscript +++ b/tests/SConscript @@ -1,4 +1,4 @@ -# Copyright (c) 2017-2019 Arm Limited. +# Copyright (c) 2017-2021 Arm Limited. # # SPDX-License-Identifier: MIT # @@ -28,12 +28,11 @@ Import('install_bin') # vars is imported from arm_compute: variables = [ - BoolVariable("benchmark_examples", "Build benchmark examples programs", True), - BoolVariable("validate_examples", "Build validate examples programs", True), + BoolVariable("benchmark_examples", "Build benchmark examples programs", False), + BoolVariable("validate_examples", "Build validate examples programs", False), 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") ] -- cgit v1.2.1