aboutsummaryrefslogtreecommitdiff
path: root/tests/SConscript
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-06-06 17:57:04 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:52:54 +0000
commitf8d8f3aff04faf731f20411ecb91027eab4365c5 (patch)
treeda865aaa630305fb8e7d86d5b100cb35fd9f6f47 /tests/SConscript
parent1db7bebe29fb11fd85642c292d7dfca4bfef2553 (diff)
downloadComputeLibrary-f8d8f3aff04faf731f20411ecb91027eab4365c5.tar.gz
COMPMID-1200: Missing noexcept specifiers
Disables Wnoexcept in tests Used gcc 8.2 to reproduce. Change-Id: I06f4636d96bd3ac98dace72341bb808edcd23750 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/134490 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/SConscript')
-rw-r--r--tests/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/SConscript b/tests/SConscript
index 6a6ee623b2..a58e1f2ea9 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -57,6 +57,10 @@ Help(new_options.GenerateHelpText(test_env))
Import("arm_compute_test_framework")
test_env.Append(LIBS = arm_compute_test_framework)
+# Remove -Wnoexcept from tests
+if 'g++' in test_env['CXX'] and '-Wnoexcept' in test_env['CXXFLAGS']:
+ test_env['CXXFLAGS'].remove("-Wnoexcept")
+
if env['os'] in ['android', 'bare_metal'] or env['standalone']:
Import("arm_compute_a")
Import("arm_compute_core_a")