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

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: 578 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.sh
7
8bash -c "python generate_test.py"
9mv _test_${xios_machine_name}_info.js test_${xios_machine_name}_info.js
10copy_to_thredds  test_${xios_machine_name}_info.js
11mv test_${xios_machine_name}_info.js _test_${xios_machine_name}_info.js
12
13else
14echo "latest version ... no need to test"
15
16fi
17
18
Note: See TracBrowser for help on using the repository browser.