From fc1ffe626278e75ba11c803280a6ef46a5bd1ad6 Mon Sep 17 00:00:00 2001 From: Pablo Tello Date: Tue, 23 Jan 2018 08:31:41 +0000 Subject: COMPMID-837: Fixed remap tests failures in Valgrind. Some minor improvements in the test fixture, for example making sure the values in the mapx and mapy tensors are in the range of [-5, in_width+5] and [-5,in_height]. Tolerance was changed to 0, no mismatches expected. Change-Id: I2fad06defb293bf9fdd1988799b19547c102dee5 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/118044 Tested-by: Jenkins Reviewed-by: Georgios Pinitas Reviewed-by: Anthony Barbier --- tests/validation/NEON/Remap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/validation/NEON') diff --git a/tests/validation/NEON/Remap.cpp b/tests/validation/NEON/Remap.cpp index 6e58000d54..2e54b1152e 100644 --- a/tests/validation/NEON/Remap.cpp +++ b/tests/validation/NEON/Remap.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -43,8 +43,8 @@ namespace validation { namespace { -constexpr AbsoluteTolerance tolerance_value(1); -constexpr float tolerance_number = 0.2f; +constexpr AbsoluteTolerance tolerance_value(0); +constexpr float tolerance_number = 0.f; } // namespace TEST_SUITE(NEON) -- cgit v1.2.1