Ignore:
Timestamp:
09/24/19 14:05:04 (5 years ago)
Author:
yushan
Message:

Generic_test_case: add job script for Irene. correction for using newer version of cdo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/check.py

    r1714 r1718  
    114114                                os.system(cmd) 
    115115 
     116                if os.stat("diff.txt").st_size==0: 
     117                                        h.write("test for "+configName+" for file "+line+"     \tPASSED\n")              
     118                                        print "\n        ****************************************" 
     119                                        print "        ** "+line+" is valid !!! **" 
     120                                        print "\n        ****************************************" 
     121                else:    
    116122                                g=open("diff.txt", "r") 
    117123                                for gline in g: 
    118                                         if gline.strip().startswith("0"): 
     124                                        if gline.strip().startswith("0") or ":" in gline : 
    119125                                                h.write("test for "+configName+" for file "+line+"     \tPASSED\n")              
    120126                                                print "\n        ****************************************" 
Note: See TracChangeset for help on using the changeset viewer.