diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/SConscript | 6 |
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") |