source: XIOS/trunk/xios_test_suite/COMPILE/compile_irene @ 1916

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
Line 
1#!/bin/bash
2
3set -x
4
5export revision=$(svn info --show-item revision .. 2>&1)
6
7python config_compile.py
8
9ccc_msub -E "--wait" job_compile_irene.sh
10
11build_dir=${xios_test_suite_repository}/BUILD
12mkdir -p $build_dir ; CHMOD $build_dir
13mkdir -p ${build_dir}/build_${xios_machine_name}
14
15
16allreports=`ls ./build_${revision}_*.txt`
17for report in $allreports
18do
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
24done
25
26
27CHMOD -R ${build_dir}/build_${xios_machine_name}
28
29#bash -c "python ./generate_compile.py"
30
31#copy_to_thredds compile_${xios_machine_name}_info.js
Note: See TracBrowser for help on using the repository browser.