Changeset 1913


Ignore:
Timestamp:
06/29/20 12:20:50 (4 years ago)
Author:
yushan
Message:

trunk : update html

Location:
XIOS/trunk/xios_test_suite
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/xios_test_suite/HTML/generate_compile_table.js

    r1814 r1913  
     1var compile_dict={"-1": "❌", "1": "✅"} 
    12function generateCompileTable() 
    23{ 
     
    224225          if(part_compile_info[k][2] == tmp_arch_list[j] && part_compile_info[k][3] == tmp_mode_list[i]) 
    225226          { 
    226             myCell.innerHTML = (part_compile_info[k][4]) 
     227            myCell.innerHTML = compile_dict[part_compile_info[k][4]] 
    227228            break 
    228229          } 
  • XIOS/trunk/xios_test_suite/HTML/generate_test_table.js

    r1821 r1913  
    1 var dict = {"-1": "❌", "0": "❎", "1": "✅"} 
     1var dict = {"-1": "❌", "0": "❓", "1": "✅"} 
    22 
    33function generateTestTable() 
     
    319319    myCell_5 = document.createElement("a") 
    320320    myCell_5.innerHTML = ("show location") 
    321     myCell_5.onclick = function() {show_text(full_dir.replace(build_dir, "GENERIC_TESTCASE/")+status[0])} 
     321    myCell_5.onclick = function() {show_text(full_dir.replace(build_dir, "")+status[0])} 
    322322    myCell_2.appendChild(myCell_3) 
    323323    myCell_3.appendChild(myCell_4) 
     
    383383    myCell_5 = document.createElement("a") 
    384384    myCell_5.innerHTML = ("show location") 
    385     myCell_5.onclick = function() {show_text(full_dir.replace(build_dir, "GENERIC_TESTCASE/")+status[0]+"/"+status[1])} 
     385    myCell_5.onclick = function() {show_text(full_dir.replace(build_dir, "")+status[0]+"/"+status[1])} 
    386386    myCell_2.appendChild(myCell_3) 
    387387    myCell_3.appendChild(myCell_4) 
  • XIOS/trunk/xios_test_suite/HTML/xios_report.html

    r1814 r1913  
    5151 
    5252 
    53             <ul><li>&#10060; : compile failed / test failed</li><li>&#10062; : test result initialized</li><li>&#9989; : compile passed / test passed</li></ul> 
     53            <ul> 
     54                <li>&#10060; : compile failed / test failed</li> 
     55                <li>&#10067; : test result initialized</li> 
     56                <li>&#9989; : compile passed / test passed</li></ul> 
    5457 
    5558        </section> 
  • XIOS/trunk/xios_test_suite/TEST_SUITE/run_test

    r1909 r1913  
    1212  echo "XIOS Build Finished. Start Unit Tests" 
    1313  bash ./my_run.sh 
    14   rundir=${xios_test_suite_repository}/RUN 
    15   mkdir -p $rundir ; CHMOD  $rundir 
    16   mkdir -p ${rundir}/test_${xios_machine_name} ; CHMOD ${rundir}/test_${xios_machine_name} 
     14   
     15  if [ "$COPY_TO_SERVER" = true ] 
     16  then 
     17    echo "with files copy" 
     18    rundir=${xios_test_suite_repository}/RUN 
     19    mkdir -p $rundir ; CHMOD  $rundir 
     20    mkdir -p ${rundir}/test_${xios_machine_name} ; CHMOD ${rundir}/test_${xios_machine_name} 
    1721 
    18   cp report_${svnR}_${arch}_${mode}.txt ${rundir}/test_${xios_machine_name}/test_${svnR}_${xios_machine_name}_${arch}_${mode}.txt 
     22    cp report_${svnR}_${arch}_${mode}.txt ${rundir}/test_${xios_machine_name}/test_${svnR}_${xios_machine_name}_${arch}_${mode}.txt 
    1923 
    20   CHMOD ${rundir}/test_${xios_machine_name}/test_${svnR}_${xios_machine_name}_${arch}_${mode}.txt 
     24    CHMOD ${rundir}/test_${xios_machine_name}/test_${svnR}_${xios_machine_name}_${arch}_${mode}.txt 
    2125 
    22   mkdir -p ${rundir}/def_files ;  CHMOD ${rundir}/def_files 
    23   mkdir -p ${rundir}/def_files/${svnR} ;  CHMOD ${rundir}/def_files/${svnR} 
     26    mkdir -p ${rundir}/def_files ;  CHMOD ${rundir}/def_files 
     27    mkdir -p ${rundir}/def_files/${svnR} ;  CHMOD ${rundir}/def_files/${svnR} 
    2428 
    25   for i in $(ls -d test_*/) 
    26   do 
    27     mkdir -p ${rundir}/def_files/${svnR}/${i%%} ; CHMOD ${rundir}/def_files/${svnR}/${i%%} 
    28     cp ${i%%}/user_param.json ${rundir}/def_files/${svnR}/${i%%} 
    29     for j in $(ls -d ${i%%/}/CONFIG_*) 
     29    for i in $(ls -d test_*/) 
    3030    do 
    31       mkdir -p ${rundir}/def_files/${svnR}/${j%%} ; CHMOD ${rundir}/def_files/${svnR}/${j%%} 
    32       cp ${j%%}/all_param.def ${rundir}/def_files/${svnR}/${j%%} 
     31      mkdir -p ${rundir}/def_files/${svnR}/${i%%} ; CHMOD ${rundir}/def_files/${svnR}/${i%%} 
     32      cp ${i%%}/user_param.json ${rundir}/def_files/${svnR}/${i%%} 
     33      for j in $(ls -d ${i%%/}/CONFIG_*) 
     34      do 
     35        mkdir -p ${rundir}/def_files/${svnR}/${j%%} ; CHMOD ${rundir}/def_files/${svnR}/${j%%} 
     36        cp ${j%%}/all_param.def ${rundir}/def_files/${svnR}/${j%%} 
     37      done 
    3338    done 
    34   done 
    35  
     39  else 
     40    echo "without files copy" 
     41  fi 
    3642 
    3743else 
  • XIOS/trunk/xios_test_suite/TEST_SUITE/test_function/checkfile.def

    r1807 r1913  
    11 
    2 atm_output.nc 
     2#atm_output.nc 
     3atm_output_max.nc 
     4atm_output_min.nc 
     5atm_output_sum.nc 
     6atm_output_ave.nc 
    37#atm_output_ensemble.nc 
  • XIOS/trunk/xios_test_suite/TEST_SUITE/test_function/context_atm.xml

    r1807 r1913  
    364364  <file_definition  type="one_file" > 
    365365     
    366  
    367      <file id="atm_output" output_freq="4ts" enabled="true" > 
     366     <file id="atm_output_max" output_freq="4ts" enabled="true" > 
     367       <field field_ref="field2D"  operation = "maximum" /> 
     368       <field field_ref="field3D"  operation = "maximum" /> 
     369       <field field_ref="pressure" operation = "maximum" /> 
     370     </file> 
     371 
     372 
     373     <file id="atm_output_min" output_freq="4ts" enabled="true" > 
     374       <field field_ref="field2D"  operation = "minimum" /> 
     375       <field field_ref="field3D"  operation = "minimum" /> 
     376       <field field_ref="pressure" operation = "minimum" /> 
     377     </file> 
     378 
     379     <file id="atm_output_ave" output_freq="4ts" enabled="true" > 
     380       <field field_ref="field2D"  operation = "average" /> 
     381       <field field_ref="field3D"  operation = "average" /> 
     382       <field field_ref="pressure" operation = "average" /> 
     383     </file> 
     384 
     385     <file id="atm_output_sum" output_freq="4ts" enabled="true" > 
     386       <field field_ref="field2D"  operation = "accumulate" /> 
     387       <field field_ref="field3D"  operation = "accumulate" /> 
     388       <field field_ref="pressure" operation = "accumulate" /> 
     389     </file> 
     390      
     391     <file id="atm_output_once" output_freq="4ts" enabled="true" > 
     392       <field field_ref="field2D"  operation = "once" /> 
     393       <field field_ref="field3D"  operation = "once" /> 
     394       <field field_ref="pressure" operation = "once" /> 
     395     </file> 
     396      
     397     <file id="atm_output_instant" output_freq="4ts" enabled="true" > 
     398       <field field_ref="field2D"  operation = "instant" /> 
     399       <field field_ref="field3D"  operation = "instant" /> 
     400       <field field_ref="pressure" operation = "instant" /> 
     401     </file> 
     402 
     403 
     404     <file id="atm_output" output_freq="4ts" enabled="false" > 
    368405        
    369406       <field field_ref="field2D" operation="average" enabled="true"/> 
  • XIOS/trunk/xios_test_suite/launch_test_suite

    r1810 r1913  
    11#!/bin/bash 
    2  
     2export COPY_TO_SERVER=false 
     3if [[ $1 == "--copy" ]] 
     4then 
     5  export COPY_TO_SERVER=$2 
     6  echo "copy to server =" ${COPY_TO_SERVER} 
     7fi 
    38source ./load_env 
    49mkdir -p RUN_TEST_SUITE 
Note: See TracChangeset for help on using the changeset viewer.