source: XIOS/dev/dev_trunk_omp/xios_test_suite/TEST_SUITE/run_test_irene_local @ 1846

Last change on this file since 1846 was 1846, checked in by yushan, 19 months ago

dev_trunk_omp : launch local compile and test iff last-changed-revision >= revision

  • Property svn:executable set to *
File size: 387 bytes
Line 
1#!/bin/bash
2export revision=$(svn info --show-item revision ../.. 2>&1)
3export server_revision=$(svn info --show-item last-changed-revision http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/dev/dev_trunk_omp 2>&1)
4if (( ${server_revision} >= ${revision} ))
5then
6ccc_msub -E "--wait" job_irene_local.sh
7
8bash -c "python generate_test.py"
9else
10echo "latest version ... no need to test"
11
12fi
13
Note: See TracBrowser for help on using the repository browser.