source: XIOS/trunk/xios_test_suite/COMPILE/compile_jeanzay @ 2218

Last change on this file since 2218 was 2218, checked in by jderouillat, 5 months ago

Update trunk test suite with the same protocol that on COUPLING

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