Back to home page

MITgcm

 
 

    


File indexing completed on 2026-01-04 06:08:49 UTC

view on githubraw file Latest commit 8dee4b5b on 2026-01-03 22:45:21 UTC
9be2aee699 chri*0001 #!/bin/bash
                0002 #
8dee4b5b73 dngo*0003 # Testreport running script for CI,
                0004 # - now as GitHub action, called from build_testing.ym
                0005 #   (formerly with Travis, called from .travis.yml script )
                0006 # - section with environment variables:
                0007 #   if they are not set then defaults are configured here.
9be2aee699 chri*0008 # MITGCM_DECMD - command to run under Docker
                0009 # MITGCM_EXP   - MITgcm test to run
                0010 # MITGCM_TROPT - Test report options
                0011 #
6eeff6d6e4 chri*0012 
5708fdd0f9 chri*0013 if [ -z "${MITGCM_TROPT}" ]; then
f1899cdfe6 Oliv*0014  export MITGCM_TROPT='-devel -of=../tools/build_options/linux_amd64_gfortran -match 14'
2a6fb2cedb chri*0015 fi
5708fdd0f9 chri*0016 if [ -z "${MITGCM_DECMD}" ]; then
79a7e9a415 chri*0017  export MITGCM_DECMD='docker exec -i ubuntu_18_04-testreport bash -c'
6eeff6d6e4 chri*0018 fi
54ed8ba1c9 chri*0019 if [ -z "${MITGCM_INPUT_DIR_PAT}" ]; then
6eeff6d6e4 chri*0020  export MITGCM_INPUT_DIR_PAT='/input.*'
                0021 fi
                0022 
f1899cdfe6 Oliv*0023 ${MITGCM_DECMD} "cd /MITgcm/verification; ./testreport -pass -t ${MITGCM_EXP} ${MITGCM_TROPT}"