[lapack] 08/10: d/p/test-numbering.patch: new patch, needed for autopkgtest lapack-testsuite.

Sébastien Villemot sebastien at debian.org
Thu Dec 29 16:45:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository lapack.

commit eb3c80d8addd3688ae73a6edb679e077e05bc784
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Thu Dec 29 16:52:27 2016 +0100

    d/p/test-numbering.patch: new patch, needed for autopkgtest lapack-testsuite.
---
 debian/patches/series               |  1 +
 debian/patches/test-numbering.patch | 54 +++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index a15d638..e396170 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 icamax-izamax-extended-precision.patch
 doxygen-strip-source.patch
 fix-typos.patch
+test-numbering.patch
diff --git a/debian/patches/test-numbering.patch b/debian/patches/test-numbering.patch
new file mode 100644
index 0000000..8977958
--- /dev/null
+++ b/debian/patches/test-numbering.patch
@@ -0,0 +1,54 @@
+Description: Fix -r option of lapack_testing.py.
+ The numbering of tests had been broken in commit ed4e95e.
+Author: Sébastien Villemot <sebastien at debian.org>
+Forwarded: https://github.com/Reference-LAPACK/lapack/pull/104
+Last-Update: 2016-12-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/lapack_testing.py
++++ b/lapack_testing.py
+@@ -197,16 +197,16 @@ else:
+     range_prec=list(range(4))
+ 
+ if test=='lin':
+-    range_test=[15]
+-elif test=='mixed':
+     range_test=[16]
++elif test=='mixed':
++    range_test=[17]
+     range_prec=[1,3]
+ elif test=='rfp':
+-    range_test=[17]
++    range_test=[18]
+ elif test=='eig':
+-    range_test=list(range(15))
++    range_test=list(range(16))
+ else:
+-    range_test=list(range(18))
++    range_test=list(range(19))
+ 
+ list_results = [
+ [0, 0, 0, 0, 0],
+@@ -250,18 +250,18 @@ for dtype in range_prec:
+     for dtest in range_test:
+         nb_of_test=0
+         # NEED TO SKIP SOME PRECISION (namely s and c) FOR PROTO MIXED PRECISION TESTING
+-        if dtest==16 and (letter=="s" or letter=="c"):
++        if dtest==17 and (letter=="s" or letter=="c"):
+             continue
+         if (with_file==1):
+             cmdbase=dtests[2][dtest]+".out"
+         else:
+-            if dtest==15:
++            if dtest==16:
+                 # LIN TESTS
+                 cmdbase="xlintst"+letter+" < "+dtests[0][dtest]+".in > "+dtests[2][dtest]+".out"
+-            elif dtest==16:
++            elif dtest==17:
+                 # PROTO LIN TESTS
+                 cmdbase="xlintst"+letter+dtypes[0][dtype-1]+" < "+dtests[0][dtest]+".in > "+dtests[2][dtest]+".out"
+-            elif dtest==17:
++            elif dtest==18:
+                 # PROTO LIN TESTS
+                 cmdbase="xlintstrf"+letter+" < "+dtests[0][dtest]+".in > "+dtests[2][dtest]+".out"
+             else:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lapack.git



More information about the debian-science-commits mailing list