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/COMPILE/generate_compile.py

    r1805 r1821  
    8585                myBuild[3] = myText 
    8686 
    87             elif line.startswith("Build command"): 
    88                 myTexts = line.replace("Build command ", "").replace("\n", "").split(" ") 
    89                 if myTexts[0] == "finished" : 
     87            elif line[0].isdigit(): 
     88                myTexts = line.replace("\n", "") 
     89                if myTexts == "0" : 
    9090                    myBuild[4] = "✅"  
    9191                else : 
Note: See TracChangeset for help on using the changeset viewer.