source: flexpart.git/tests/NILU/run_test @ 1333256

10.4.1_peseiGFS_025bugfixes+enhancementsdevrelease-10release-10.4.1scaling-bug
Last change on this file since 1333256 was 1333256, checked in by Ignacio Pisso <Ignacio.Pisso@…>, 9 years ago

add scripts for running tests

  • Property mode set to 100755
File size: 665 bytes
Line 
1#!/bin/bash
2
3#input FP exec
4test_dir=$1
5FP_exec=$2
6base_dir=$3
7
8echo FP_exec=$FP_exec
9echo $FLEXOUT_TMP
10
11#suffix=$(date "+%y-%m-%d_%H%M%S")
12test_tmp=${FLEXOUT_TMP}${base_dir}${test_dir}
13#_${suffix}
14
15current_dir=$(pwd)
16echo test_tmp=$test_tmp
17mkdir $test_tmp
18
19#copy default optios
20cp -r options_default $test_tmp/options
21#override default options
22cp -r ${test_dir}/options/* $test_tmp/options/
23# copy paths form repo source exec tmp dir
24cp ${test_dir}/pathnames $test_tmp
25mkdir ${test_tmp}/output
26
27#cp test_1/run $test_tmp
28
29cd $test_tmp
30echo $(pwd)
31echo $FP_exec
32#  '&>' o is bash for both out and err
33echo run $FP_exec   to  out.log #&
34$FP_exec   &> out.log #&
35
36
37
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG