Changeset 1812


Ignore:
Timestamp:
12/19/19 16:24:42 (2 years ago)
Author:
ymipsl
Message:

XIOS test suite : some update
YM

Location:
XIOS/trunk/xios_test_suite
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/xios_test_suite/COMPILE/config_compile.py

    r1805 r1812  
    6767             
    6868            f.write("add_test( NAME "+build_dir_name+'\n') 
    69             f.write("          COMMAND bash -c \"source ../ARCH/arch-"+configs_arg[0][i]+".env && module load cmake && cd ../.. && ./make_xios --arch_dir xios_test_suite/ARCH --arch "+configs_arg[0][i]+" --"+configs_arg[1][j]+" --job 16 --build_dir build_"+build_dir_name+" | tail -n 1 >> Compile/build_"+revision+"_"+machine+"_"+build_dir_name+".txt\")\n\n") 
     69            f.write("          COMMAND bash -c \"source ../ARCH/arch-"+configs_arg[0][i]+".env && module load cmake && cd ../.. && ./make_xios --arch_dir xios_test_suite/ARCH --arch "+configs_arg[0][i]+" --"+configs_arg[1][j]+" --job 16 --build_dir xios_test_suite/BUILD/build_"+build_dir_name+" | tail -n 1 >> xios_test_suite/COMPILE/build_"+revision+"_"+machine+"_"+build_dir_name+".txt\")\n\n") 
    7070            f.write("set_tests_properties( "+build_dir_name+" PROPERTIES\n") 
    7171            f.write("                      FAIL_REGULAR_EXPRESSION \"failed\")\n\n") 
  • XIOS/trunk/xios_test_suite/TEST_SUITE/generate_test.py

    r1806 r1812  
    9292    print(myTestList) 
    9393   
    94     f=open("test_"+machine+"_info.js", "w") 
     94    f=open("_test_"+machine+"_info.js", "w") 
    9595    f.write("var test_"+machine+"_revision_list = "+repr(revision_list)+"\n\n") 
    9696    f.write("var test_"+machine+"_info_list = [\n") 
  • XIOS/trunk/xios_test_suite/TEST_SUITE/run_test

    r1806 r1812  
    9090 
    9191cp plein_report.txt ${rundir}/test_${machine_name}/test_${xios_revision}_${machine_name}_${arch}_${mode}.txt 
    92 chmod -quiet ug+rw ${rundir}/test_${machine_name}/test_${xios_revision}_${machine_name}_${arch}_${mode}.txt 
     92chmod --quiet ug+rw ${rundir}/test_${machine_name}/test_${xios_revision}_${machine_name}_${arch}_${mode}.txt 
    9393 
    94 mkdir -p ${rundir}/def_files ;  chmod -quiet ug+rwx ${rundir}/RUN/def_files 
    95 mkdir -p ${rundir}/def_files/${xios_revision} ;  chmod -quiet ug+rwx ${rundir}/def_files/${xios_revision} 
     94mkdir -p ${rundir}/def_files ;  chmod --quiet ug+rwx ${rundir}/RUN/def_files 
     95mkdir -p ${rundir}/def_files/${xios_revision} ;  chmod --quiet ug+rwx ${rundir}/def_files/${xios_revision} 
    9696 
    9797for i in $(ls -d test_*/) 
     
    104104    cp ${j%%}/setup/all_param.def ${rundir}/def_files/${xios_revision}/${j%%}   
    105105  done 
    106   chmod -R -quiet ug+rwx ${rundir}/def_files 
     106  chmod -R --quiet ug+rwx ${rundir}/def_files 
    107107done 
    108108 
  • XIOS/trunk/xios_test_suite/TEST_SUITE/run_test_irene

    r1811 r1812  
    44 
    55bash -c "python generate_test.py" 
     6mv _test_${xios_machine_name}_info.js test_${xios_machine_name}_info.js 
    67copy_to_thredds  test_${xios_machine_name}_info.js 
     8mv test_${xios_machine_name}_info.js _test_${xios_machine_name}_info.js 
  • XIOS/trunk/xios_test_suite/TOOLS/copy_to_forge

    r1808 r1812  
    88do 
    99  scp $file $forge_IP:$FORGE_DIR  
    10   ssh $forge_IP "chmod a+rw ${FORGE_DIR}/${file}" 
     10  ssh $forge_IP "chmod --quiet a+rw ${FORGE_DIR}/${file}" 
    1111done 
  • XIOS/trunk/xios_test_suite/TOOLS/copy_to_thredds

    r1808 r1812  
    55for file in $files  
    66do 
    7   cp $file $THREDDS_DIR ; chmod g+wr $THREDDS_DIR/$file ; chmod o+r $THREDDS_DIR/$file 
     7  cp $file $THREDDS_DIR ; chmod --quiet g+wr $THREDDS_DIR/$file ; chmod --quiet o+r $THREDDS_DIR/$file 
    88done 
  • XIOS/trunk/xios_test_suite/launch_compile

    r1801 r1812  
    22 
    33source ./load_env 
     4mkdir -p BUILD 
    45(cd COMPILE && ./compile_${xios_machine_name}) 
Note: See TracChangeset for help on using the changeset viewer.