Changeset 16709


Ignore:
Timestamp:
11/11/13 22:11:41 (11 years ago)
Author:
Eric.Larour
Message:

CHG: get jenkins to do the logs nicely for python. Modify runme.py to display markers for each test.

Location:
issm/trunk-jpl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/jenkins/jenkins.sh

    r16706 r16709  
    354354for i in `echo $testlist`
    355355do
    356         juLog  -test=$i -name=Matlab.Error -error=ERROR awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log
    357         juLog  -test=$i -name=Matlab.Failure -error=FAILURE awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log
    358         juLog  -test=$i -name=Python.Error -error=ERROR awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" python_log.log
    359         juLog  -test=$i -name=Python.Failure -error=FAILURE awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" python_log.log
    360 
    361 done
    362 #}}}
     356        juLog  -test=MATLAB-$i -name=Error -error=ERROR awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log
     357        juLog  -test=MATLAB-$i -name=Failure -error=FAILURE awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log
     358        juLog  -test=PYTHON-$i -name=Error -error=ERROR awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" python_log.log
     359        juLog  -test=PYTHON-$i -name=Failure -error=FAILURE awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" python_log.log
     360done
     361#}}}
  • issm/trunk-jpl/test/NightlyRun/runme.py

    r16199 r16709  
    135135                        os.chdir(root)
    136136                        id_string=IdToName(id)
     137                        print "----------------starting:%i-----------------------" % id
    137138                        execfile('test'+str(id)+'.py',globals())
    138139
     
    220221
    221222                                f.close()
     223                                printf "----------------finished:%i-----------------------" % id
    222224
    223225                except Exception as me:
     
    241243                                print 'FAILURE difference: N/A test id: %i test name: %s field: %s' % (id,id_string,'N/A')
    242244                                raise RuntimeError(me)
     245                        printf "----------------finished:%i-----------------------" % id
    243246
    244247        return
Note: See TracChangeset for help on using the changeset viewer.