aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-07-10 16:44:45 +0100
committerMichele Di Giorgio <michele.digiorgio@arm.com>2019-07-12 10:33:20 +0000
commit98b8511fd2e6fe850344ee2c69a93475bced811d (patch)
tree85933f72c78ede4fb809a3e8edff700234ad36e0 /tests
parente1651a55c637708347c9adda4a77f1deffacf7d2 (diff)
downloadComputeLibrary-98b8511fd2e6fe850344ee2c69a93475bced811d.tar.gz
COMPMID-2463: Add deprecation macro to deprecate interfaces
3RDPARTY_UPDATE Adds deprecation macros: - ARM_COMPUTE_DEPRECATED : Simple deprecation macro - ARM_COMPUTE_DEPRECATED_REL : Deprecation with deprecation release id - ARM_COMPUTE_DEPRECATED_REL_REPLACE : Deprecation with deprecation release id and replacement interface Change-Id: I71af81a7bf1a36ac27fe57340529c870f4cff862 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/1512 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/SConscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/SConscript b/tests/SConscript
index 99ca2da3ff..103874f63f 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -58,6 +58,12 @@ Help(new_options.GenerateHelpText(test_env))
Import("arm_compute_test_framework")
test_env.Append(LIBS = arm_compute_test_framework)
+# Remove warnings from tests
+warnings_to_remove = ['-Wno-deprecated-declarations']
+for warning in warnings_to_remove:
+ if warning in test_env['CXXFLAGS']:
+ test_env['CXXFLAGS'].remove(warning)
+
# Remove -Wnoexcept from tests
if 'g++' in test_env['CXX'] and '-Wnoexcept' in test_env['CXXFLAGS']:
test_env['CXXFLAGS'].remove("-Wnoexcept")