Last change
on this file since 2120 was
1846,
checked in by yushan, 5 years ago
|
dev_trunk_omp : launch local compile and test iff last-changed-revision >= revision
|
-
Property svn:executable set to
*
|
File size:
387 bytes
|
Rev | Line | |
---|
[1844] | 1 | #!/bin/bash |
---|
[1846] | 2 | export revision=$(svn info --show-item revision ../.. 2>&1) |
---|
| 3 | export server_revision=$(svn info --show-item last-changed-revision http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/dev/dev_trunk_omp 2>&1) |
---|
| 4 | if (( ${server_revision} >= ${revision} )) |
---|
| 5 | then |
---|
[1844] | 6 | ccc_msub -E "--wait" job_irene_local.sh |
---|
| 7 | |
---|
| 8 | bash -c "python generate_test.py" |
---|
[1846] | 9 | else |
---|
| 10 | echo "latest version ... no need to test" |
---|
| 11 | |
---|
| 12 | fi |
---|
| 13 | |
---|
Note: See
TracBrowser
for help on using the repository browser.