source: XIOS3/trunk/xios_test_suite/COMPILE/compile_irene @ 2382

Last change on this file since 2382 was 2139, checked in by jderouillat, 3 years ago

Update Python error management. Importing unit test from trunk.

  • Property svn:executable set to *
File size: 655 bytes
Line 
1#!/bin/bash
2
3#set -x
4
5export revision=$(svn info --show-item revision .. 2>&1)
6
7python config_compile.py
8
9ccc_msub -E "--wait" job_compile_irene.sh
10
11if [ "$COPY_TO_SERVER" = true ]
12then
13  build_dir=${xios_test_suite_repository}/BUILD
14  mkdir -p $build_dir ; CHMOD $build_dir
15  mkdir -p ${build_dir}/build_${xios_machine_name}
16
17
18  allreports=`ls ./build_${revision}_*.txt`
19  for report in $allreports
20  do
21     ll=$(wc -l $report | awk '{print $1}')
22     if [[ $(($ll)) > 4 ]] ;  then
23        echo "$report need to be copied"
24        cp $report ${build_dir}/build_${xios_machine_name}
25     fi
26  done
27
28  CHMOD -R ${build_dir}/build_${xios_machine_name}
29fi
Note: See TracBrowser for help on using the repository browser.