Last change
on this file since 2309 was
2218,
checked in by jderouillat, 3 years ago
|
Update trunk test suite with the same protocol that on COUPLING
|
-
Property svn:executable set to
*
|
File size:
655 bytes
|
Rev | Line | |
---|
[1805] | 1 | #!/bin/bash |
---|
[1816] | 2 | |
---|
[2218] | 3 | #set -x |
---|
[1816] | 4 | |
---|
| 5 | export revision=$(svn info --show-item revision .. 2>&1) |
---|
| 6 | |
---|
| 7 | python config_compile.py |
---|
| 8 | |
---|
| 9 | ccc_msub -E "--wait" job_compile_irene.sh |
---|
| 10 | |
---|
[1945] | 11 | if [ "$COPY_TO_SERVER" = true ] |
---|
| 12 | then |
---|
| 13 | build_dir=${xios_test_suite_repository}/BUILD |
---|
| 14 | mkdir -p $build_dir ; CHMOD $build_dir |
---|
| 15 | mkdir -p ${build_dir}/build_${xios_machine_name} |
---|
[1816] | 16 | |
---|
[1886] | 17 | |
---|
[1945] | 18 | allreports=`ls ./build_${revision}_*.txt` |
---|
| 19 | for report in $allreports |
---|
| 20 | do |
---|
| 21 | ll=$(wc -l $report | awk '{print $1}') |
---|
| 22 | if [[ $(($ll)) > 4 ]] ; then |
---|
| 23 | echo "$report need to be copied" |
---|
| 24 | cp $report ${build_dir}/build_${xios_machine_name} |
---|
| 25 | fi |
---|
| 26 | done |
---|
[1886] | 27 | |
---|
[1945] | 28 | CHMOD -R ${build_dir}/build_${xios_machine_name} |
---|
| 29 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.