Changeset a5ef7ec in flexpart.git for tests/NILU/run_test
- Timestamp:
- Oct 16, 2015, 11:06:23 AM (9 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug
- Children:
- 21e8feb
- Parents:
- 17bfbe1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/NILU/run_test
r1be76d8 ra5ef7ec 6 6 base_dir=$3 # base for the output 7 7 options_default=$4 8 9 echo run test '>' input 10 echo $1 11 echo $2 12 echo $3 13 echo $4 14 15 # echo name= $name 16 # echo working dir= $path_tests/test_$name 17 # echo executable= $FP_exec 18 # echo default options from $options_default 8 19 9 20 #echo FP_exec=$FP_exec 10 echo $FLEXOUT_TMP21 echo env var FLEXOUT_TMP=$FLEXOUT_TP 11 22 12 23 #suffix=$(date "+%y-%m-%d_%H%M%S") … … 18 29 mkdir $test_tmp 19 30 20 echo copy default options $options_default to temp dir $test_tmp/options 31 echo run test '>' copy default options to temp dir 32 echo from $options_default to $test_tmp/options 21 33 cp -r $options_default $test_tmp/options 22 34 #override default options 23 echo copy this test option files to temp dir 24 cp ${test_dir}/options/* $test_tmp/options/ 25 echo copy SPECIES from ${test_dir}/options/SPECIES/* to $test_tmp/options/SPECIES/ 26 cp ${test_dir}/options/SPECIES/* $test_tmp/options/SPECIES/ 35 echo copy test options files to temp dir 36 echo ${test_dir}/options/* $test_tmp/options/ 37 cp ${test_dir}/options/* $test_tmp/options/ 38 echo copy test options/SPECIES to temp dir if needed 39 40 if [ -d "${test_dir}/options/SPECIES" ]; then 41 echo from ${test_dir}/options/SPECIES/* to $test_tmp/options/SPECIES/ 42 cp ${test_dir}/options/SPECIES/* $test_tmp/options/SPECIES/ 43 fi 44 27 45 # copy paths form repo source exec tmp dir 46 echo copy test pathnames to temp dir 28 47 cp ${test_dir}/pathnames $test_tmp 48 echo create output dir ${test_tmp}/output 29 49 mkdir ${test_tmp}/output 30 50 … … 37 57 #echo run $FP_exec to out.log #& 38 58 #$FP_exec &> out.log #& 59 echo execute test 39 60 $FP_exec > stdout.log 2> stderr.log #& 61 echo flexpart terminated 40 62 41 63
Note: See TracChangeset
for help on using the changeset viewer.