Commit b3c8b15d authored by Gregory Sharp's avatar Gregory Sharp
Browse files

Add patch to fix failing regression test on i386

parent 16d5603a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
plastimatch (1.7.4+dfsg.1-2) UNRELEASED; urgency=medium

  * Add patch to fix regression test that causes test failure on i386

 -- Gregory C. Sharp <gregsharp.geo@yahoo.com>  Thu, 17 Jan 2019 18:02:42 -0500

plastimatch (1.7.4+dfsg.1-1) unstable; urgency=medium

  [ Michael R. Crusoe ]
+38 −0
Original line number Diff line number Diff line
From a4ceda25dcb7f732e3429de9a3f5e0962346454e Mon Sep 17 00:00:00 2001
From: "Gregory C. Sharp" <gregsharp.geo@yahoo.com>
Date: Thu, 17 Jan 2019 13:58:35 -0500
Subject: [PATCH] Make xf-invert-vrs-b-check regression test pass on 32-bit
 linux

---
 Testing/CMakeLists.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt
index 1c9f0b68..d2722107 100755
--- a/Testing/CMakeLists.txt
+++ b/Testing/CMakeLists.txt
@@ -4500,16 +4500,16 @@ plm_add_test (
   ${PLM_PLASTIMATCH_PATH}/plastimatch
   "xf-invert;--input;${PLM_TESTING_DATA_DIR}/itk-rigid-b.tfm;--output;${PLM_BUILD_TESTING_DIR}/xf-invert-vrs-b.tfm"
   )
-plmtest_check_string (
+plmtest_check_interval (
   "xf-invert-vrs-b-check"
   "${PLM_BUILD_TESTING_DIR}/xf-invert-vrs-b.tfm"
-  "^Parameters: *(.*)$"
-  "-0.5236 0 0 0 0 0"
+  "^Parameters: *([-0-9.]*) *0 *0 *0 *0 *0 *$"
+  "-0.52361"
+  "-0.52359"
   )
 set_tests_properties (xf-invert-vrs-b-check
   PROPERTIES DEPENDS xf-invert-vrs-b)
 
-
 ## -------------------------------------------------------------------------
 ## bragg-curve
 ## proton-dose-1    Flavor a, sobp
-- 
2.11.0

debian/patches/series

0 → 100644
+1 −0
Original line number Diff line number Diff line
0001-Make-xf-invert-vrs-b-check-regression-test-pass-on-3.patch