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

Last change on this file since 1886 was 1886, checked in by yushan, 4 years ago

trunk : only copy valid reports to XIOS_TEST_SUITE_REPOSITORY

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