Back to home page

MITgcm

 
 

    


File indexing completed on 2023-05-31 05:10:28 UTC

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