Last change
on this file since 1916 was
1887,
checked in by yushan, 4 years ago
|
.js files are generated by the cron script
|
-
Property svn:executable set to
*
|
File size:
685 bytes
|
Rev | Line | |
---|
[1805] | 1 | #!/bin/bash |
---|
[1816] | 2 | |
---|
| 3 | set -x |
---|
| 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 | |
---|
| 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} |
---|
| 14 | |
---|
[1886] | 15 | |
---|
| 16 | allreports=`ls ./build_${revision}_*.txt` |
---|
| 17 | for report in $allreports |
---|
| 18 | do |
---|
| 19 | ll=$(wc -l $report | awk '{print $1}') |
---|
| 20 | if [[ $(($ll)) > 4 ]] ; then |
---|
| 21 | echo "$report need to be copied" |
---|
| 22 | cp $report ${build_dir}/build_${xios_machine_name} |
---|
| 23 | fi |
---|
| 24 | done |
---|
| 25 | |
---|
| 26 | |
---|
[1816] | 27 | CHMOD -R ${build_dir}/build_${xios_machine_name} |
---|
| 28 | |
---|
[1887] | 29 | #bash -c "python ./generate_compile.py" |
---|
[1816] | 30 | |
---|
[1887] | 31 | #copy_to_thredds compile_${xios_machine_name}_info.js |
---|
Note: See
TracBrowser
for help on using the repository browser.