Ignore:
Timestamp:
12/20/19 14:15:59 (4 years ago)
Author:
yushan
Message:

XIOS test suite : unit tests will not run if build failed. Catch the make_xios exit value as build status.

File:
1 edited

Legend:

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

    r1814 r1821  
    189189  mySubTable.setAttribute("class", "test_sub_table") 
    190190  mySubTable.setAttribute("id", "test_sub_table_"+revision+"_"+machine+"_"+build_dir) 
     191 
     192  if(info_list.length == 0) 
     193  { 
     194    myRow = document.createElement("tr") 
     195    myRow.setAttribute("id","test_sub_table_row_"+revision+"_"+machine+"_"+build_dir) 
     196    myRow.setAttribute("class","test_sub_table_row_"+revision+"_"+machine) 
     197    myRow.classList.add("build_level") 
     198    myCell = document.createElement("td") 
     199    myCell.innerHTML = build_dir.replace("build_","")+" Build Failed" 
     200    myCell.style.color = "white" 
     201    myCell.style.fontWeight = "bold" 
     202    myRow.appendChild(myCell) 
     203    mySubTable.append(myRow) 
     204    return; 
     205  } 
    191206 
    192207  myRow = document.createElement("tr") 
Note: See TracChangeset for help on using the changeset viewer.