summaryrefslogtreecommitdiff
path: root/debian/tests/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/tests.sh')
-rwxr-xr-xdebian/tests/tests.sh10
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