source: XIOS/dev/dev_trunk_omp/xios_test_suite/TEST_SUITE/run_test_jeanzay_local

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

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

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