Last change
on this file since 2361 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:
687 bytes
|
Rev | Line | |
---|
[1816] | 1 | #!/bin/bash |
---|
[2218] | 2 | #set -x |
---|
[1816] | 3 | export revision=$(svn info --show-item revision .. 2>&1) |
---|
| 4 | python config_compile.py |
---|
| 5 | |
---|
| 6 | sbatch --wait job_compile_jeanzay.sh |
---|
| 7 | |
---|
[1945] | 8 | if [ "$COPY_TO_SERVER" = true ] |
---|
| 9 | then |
---|
| 10 | |
---|
| 11 | build_dir=${xios_test_suite_repository}/BUILD |
---|
| 12 | mkdir -p $build_dir ; CHMOD $build_dir |
---|
| 13 | mkdir -p ${build_dir}/build_${xios_machine_name} |
---|
[1816] | 14 | |
---|
[1945] | 15 | allreports=`ls ./build_${revision}_*.txt` |
---|
| 16 | for report in $allreports |
---|
| 17 | do |
---|
| 18 | ll=$(wc -l $report | awk '{print $1}') |
---|
| 19 | if [[ $(($ll)) > 4 ]] ; then |
---|
| 20 | echo "$report need to be copied" |
---|
| 21 | cp $report ${build_dir}/build_${xios_machine_name} |
---|
| 22 | fi |
---|
| 23 | done |
---|
[1886] | 24 | |
---|
[1945] | 25 | CHMOD -R ${build_dir}/build_${xios_machine_name} |
---|
| 26 | else |
---|
| 27 | echo "without files copy" |
---|
| 28 | fi |
---|
[1816] | 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.