Last change
on this file since 2362 was
1844,
checked in by yushan, 5 years ago
|
dev_trunk_omp : add xios_test_suite folder
|
-
Property svn:executable set to
*
|
File size:
990 bytes
|
Line | |
---|
1 | #/bin/bash |
---|
2 | set -x |
---|
3 | xios_branch=trunk |
---|
4 | xios_svn_rep="svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/ioserver/svn/XIOS" |
---|
5 | xios_test_suite_dir="/ccc/scratch/cont003/gen0826/gen0826/XIOS_TEST_SUITE" |
---|
6 | |
---|
7 | #permission for group |
---|
8 | CHMOD() { chmod --quiet ug+rwX,o+rX "$@" ;} |
---|
9 | |
---|
10 | mkdir -p $xios_test_suite_dir ; CHMOD $xios_test_suite_dir |
---|
11 | mkdir -p $xios_test_suite_dir/$xios_branch ; CHMOD $xios_test_suite_dir/$xios_branch |
---|
12 | |
---|
13 | full_branch_dir=${xios_test_suite_dir}/$xios_branch |
---|
14 | full_svn_rep=$xios_svn_rep/$xios_branch |
---|
15 | |
---|
16 | cd $full_branch_dir |
---|
17 | |
---|
18 | if [ ! -f "./last_rev_tested" ]; then |
---|
19 | echo 0 > ./last_rev_tested |
---|
20 | CHMOD ./last_rev_tested |
---|
21 | fi |
---|
22 | |
---|
23 | last_rev=`cat ./last_rev_tested` |
---|
24 | current_rev=`svn info --show-item last-changed-revision $full_svn_rep` |
---|
25 | |
---|
26 | if [ "$current_rev" -gt "$last_rev" ]; |
---|
27 | then |
---|
28 | echo $current_rev > last_rev_tested |
---|
29 | CHMOD ./last_rev_tested |
---|
30 | svn co $full_svn_rep xios_rev_$current_rev |
---|
31 | (cd xios_rev_$current_rev/xios_test_suite && ./launch_all) |
---|
32 | CHMOD -R xios_rev_$current_rev |
---|
33 | fi; |
---|
Note: See
TracBrowser
for help on using the repository browser.