Changeset 1be76d8 in flexpart.git for tests/NILU/run_test
- Timestamp:
- Oct 1, 2015, 3:29:19 PM (9 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug
- Children:
- ac5b22b
- Parents:
- 1333256
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/NILU/run_test
r1333256 r1be76d8 2 2 3 3 #input FP exec 4 test_dir=$1 5 FP_exec=$2 6 base_dir=$3 7 8 echo FP_exec=$FP_exec 4 test_dir=$1 # name of dir with pathname and options to be used 5 FP_exec=$2 # path to executable to be run 6 base_dir=$3 # base for the output 7 options_default=$4 8 9 #echo FP_exec=$FP_exec 9 10 echo $FLEXOUT_TMP 10 11 … … 14 15 15 16 current_dir=$(pwd) 16 echo test_tmp=$test_tmp17 #echo test_tmp=$test_tmp 17 18 mkdir $test_tmp 18 19 19 #copy default optios20 cp -r options_default $test_tmp/options20 echo copy default options $options_default to temp dir $test_tmp/options 21 cp -r $options_default $test_tmp/options 21 22 #override default options 22 cp -r ${test_dir}/options/* $test_tmp/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/ 23 27 # copy paths form repo source exec tmp dir 24 28 cp ${test_dir}/pathnames $test_tmp … … 28 32 29 33 cd $test_tmp 30 echo $(pwd)31 echo $FP_exec34 #echo $(pwd) 35 #echo $FP_exec 32 36 # '&>' o is bash for both out and err 33 echo run $FP_exec to out.log #& 34 $FP_exec &> out.log #& 37 #echo run $FP_exec to out.log #& 38 #$FP_exec &> out.log #& 39 $FP_exec > stdout.log 2> stderr.log #& 35 40 36 41
Note: See TracChangeset
for help on using the changeset viewer.