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