Changes in tests/NILU/run_test [a5ef7ec:1be76d8] in flexpart.git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/NILU/run_test
ra5ef7ec r1be76d8 6 6 base_dir=$3 # base for the output 7 7 options_default=$4 8 9 echo run test '>' input10 echo $111 echo $212 echo $313 echo $414 15 # echo name= $name16 # echo working dir= $path_tests/test_$name17 # echo executable= $FP_exec18 # echo default options from $options_default19 8 20 9 #echo FP_exec=$FP_exec 21 echo env var FLEXOUT_TMP=$FLEXOUT_TP10 echo $FLEXOUT_TMP 22 11 23 12 #suffix=$(date "+%y-%m-%d_%H%M%S") … … 29 18 mkdir $test_tmp 30 19 31 echo run test '>' copy default options to temp dir 32 echo from $options_default to $test_tmp/options 20 echo copy default options $options_default to temp dir $test_tmp/options 33 21 cp -r $options_default $test_tmp/options 34 22 #override default options 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 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/ 45 27 # copy paths form repo source exec tmp dir 46 echo copy test pathnames to temp dir47 28 cp ${test_dir}/pathnames $test_tmp 48 echo create output dir ${test_tmp}/output49 29 mkdir ${test_tmp}/output 50 30 … … 57 37 #echo run $FP_exec to out.log #& 58 38 #$FP_exec &> out.log #& 59 echo execute test60 39 $FP_exec > stdout.log 2> stderr.log #& 61 echo flexpart terminated62 40 63 41
Note: See TracChangeset
for help on using the changeset viewer.