diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2018-06-17 23:57:48 +0200 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2018-06-18 00:24:42 +0200 |
commit | d1717eeb740a159016ab846459bf9fee3dbd3fe7 (patch) | |
tree | 9252af2fd13688e5f3e5b2a03a4312203b004ad4 /debian/tests/tests.sh | |
parent | 36b225ec224a27b5931638e5b718ad9a37cb15d4 (diff) |
Force linking to LAPACK for test of statically linked binary.debian/3.0+dfsg.3-3
Diffstat (limited to 'debian/tests/tests.sh')
-rwxr-xr-x | debian/tests/tests.sh | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/debian/tests/tests.sh b/debian/tests/tests.sh index b681dea..94b784d 100755 --- a/debian/tests/tests.sh +++ b/debian/tests/tests.sh @@ -20,10 +20,8 @@ testSO() { assertEquals 0 $ret echo "Running." - set -x ./$name ret=$? - set +x assertEquals 0 $ret done cd $cwd @@ -34,18 +32,16 @@ testStatic() { cd $AUTOPKGTEST_TMP for name in $names do - echo "Building." + echo "Building (statically linked)." set -x - gfortran $name.f90 -O3 -march=native -static -llbfgsb -lblas -pthread -o $name-static + gfortran $name.f90 -O3 -march=native -static -llbfgsb -llapack -lblas -lgfortran -o $name-static ret=$? set +x assertEquals 0 $ret - echo "Running." - set -x + echo "Running (statically linked)." ./$name-static ret=$? - set +x assertEquals 0 $ret done cd $cwd |