Last change
on this file since 2330 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:
382 bytes
|
Rev | Line | |
---|
[1844] | 1 | #!/bin/bash |
---|
| 2 | |
---|
[1846] | 3 | export revision=$(svn info --show-item revision ../.. 2>&1) |
---|
| 4 | export server_revision=$(svn info --show-item last-changed-revision http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/dev/dev_trunk_omp 2>&1) |
---|
| 5 | if (( ${server_revision} >= ${revision} )) |
---|
| 6 | then |
---|
[1844] | 7 | sbatch --wait job_jeanzay_local.sh |
---|
| 8 | |
---|
| 9 | bash -c "python generate_test.py" |
---|
[1846] | 10 | else |
---|
| 11 | echo "latest version ... no need to test" |
---|
| 12 | |
---|
| 13 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.