summaryrefslogtreecommitdiff
path: root/lapack_testing.py
diff options
context:
space:
mode:
authorSébastien Villemot <sebastien@debian.org>2016-12-29 16:41:54 +0100
committerSébastien Villemot <sebastien@debian.org>2016-12-29 16:41:54 +0100
commit6c3b79b35e83df36e30bd2ceadc9b927a3287740 (patch)
tree304a86718ab74e0c66b9db0c7aef33b114efb380 /lapack_testing.py
parentc77258510e861765109d99270f54fecd583a0301 (diff)
downloadlapack-6c3b79b35e83df36e30bd2ceadc9b927a3287740.tar.gz
lapack-6c3b79b35e83df36e30bd2ceadc9b927a3287740.tar.bz2
lapack-6c3b79b35e83df36e30bd2ceadc9b927a3287740.zip
Fix -r option of lapack_testing.py.
The numbering of tests had been broken in commit ed4e95e4.
Diffstat (limited to 'lapack_testing.py')
-rwxr-xr-xlapack_testing.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/lapack_testing.py b/lapack_testing.py
index a3d05a95..70783fee 100755
--- 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: