[lapack] 03/06: Ship a script for running all tests in liblapack-test.
Sébastien Villemot
sebastien at debian.org
Wed Jan 6 11:38:23 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 12311d9f28cf96a6dbfbfdfbdc0d95fc481726c1
Author: Sébastien Villemot <sebastien at debian.org>
Date: Wed Jan 6 11:32:42 2016 +0100
Ship a script for running all tests in liblapack-test.
---
debian/control | 1 +
debian/liblapack-test.examples | 1 +
debian/liblapack-test.install | 1 +
debian/run_lapack_tests.sh | 16 ++++++++++++++++
4 files changed, 19 insertions(+)
diff --git a/debian/control b/debian/control
index ee1fda4..ccd966a 100644
--- a/debian/control
+++ b/debian/control
@@ -109,6 +109,7 @@ Section: devel
Priority: extra
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: python
Description: Library of linear algebra routines 3 - testing programs
LAPACK version 3.X is a comprehensive FORTRAN library that does
linear algebra operations including matrix inversions, least
diff --git a/debian/liblapack-test.examples b/debian/liblapack-test.examples
new file mode 100644
index 0000000..f88afa1
--- /dev/null
+++ b/debian/liblapack-test.examples
@@ -0,0 +1 @@
+debian/run_lapack_tests.sh
diff --git a/debian/liblapack-test.install b/debian/liblapack-test.install
index d0ba745..256ad9d 100644
--- a/debian/liblapack-test.install
+++ b/debian/liblapack-test.install
@@ -13,3 +13,4 @@ TESTING/xlintstrfd usr/lib/lapack/
TESTING/xlintstrfs usr/lib/lapack/
TESTING/xlintstrfz usr/lib/lapack/
TESTING/xlintstzc usr/lib/lapack/
+lapack_testing.py usr/lib/lapack/
diff --git a/debian/run_lapack_tests.sh b/debian/run_lapack_tests.sh
new file mode 100755
index 0000000..4005086
--- /dev/null
+++ b/debian/run_lapack_tests.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# This scripts runs all LAPACK tests against the BLAS and LAPACK implementations
+# currently selected through the alternatives system
+# (see "update-alternatives --display libblas.so.3" and
+# "update-alternatives --display liblapack.so.3").
+# The BLAS and LAPACK implementations can be overriden using LD_LIBRARY_PATH.
+
+# This script creates temporary files in the current directory.
+
+for testfile in /usr/lib/lapack/x* /usr/lib/lapack/*.in
+do
+ ln -s ${testfile}
+done
+
+/usr/lib/lapack/lapack_testing.py -d . -r
--
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