Commit 312c9505 authored by ulrich_y's avatar ulrich_y
Browse files

Don't do speed tests during CI

parent 1c6d8bd1
......@@ -4,9 +4,10 @@
before_script:
- date
- whoami
- export PATH=/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/bin/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/mathematica/11.0/Executables/:$PATH
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/lib64/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/lib
- export PATH=/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/bin/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/mathematica/11.0/Executables/:$PATH:/scratch/ulrich/usr/bin/
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/scratch/ulrich/usr/lib/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/lib64/:/afs/psi.ch/sys/psi.x86_64_slp6/Programming/gcc/8.2.0/lib
- export PERL5LIB=/scratch/ulrich/usr/lib64/perl5/:/scratch/ulrich/usr/share/perl5/
- export PKG_CONFIG_PATH=/scratch/ulrich/usr/lib/pkgconfig
- gfortran -v
cache:
......@@ -24,7 +25,7 @@ configure:
stage: configure
script:
- mkdir usr/
- ./configure --with-mcc --coverage
- ./configure --ci
compile:
stage: build
......
......@@ -28,8 +28,10 @@ PROGRAM TEST
#ifdef HAVE_GINAC
#ifdef HAVE_MM
call do_ginac_tests
#ifndef NOSPEED
call do_timing_tests(5)
#endif
#endif
#endif
if(tests_successful) then
......@@ -383,6 +385,7 @@ CONTAINS
end subroutine
#ifndef NOSPEED
subroutine do_one_speed_test(args, u, msg)
use maths_functions, only:clearcache
implicit none
......@@ -488,6 +491,7 @@ CONTAINS
close(unit=9)
end subroutine
#endif
FUNCTION RAN2(randy)
......
......@@ -124,6 +124,13 @@ for arg in "$@" ; do
CONF_QUAD=true ;;
--coverage)
COVERAGE=true ;;
--ci)
echo "Running in CI configuration. Will not perform speed tests!"
CONF_FFLAGS="$CONF_FLAGS -DNOSPEED"
HAVE_MCC=true
HAVE_GINAC=true
DEBUG=true
COVERAGE=true ;;
--help )
printhelp ;;
-*)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment