Changeset 16626
- Timestamp:
- 11/06/13 11:32:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/jenkins/jenkins.sh
r16616 r16626 308 308 juLogClean 309 309 310 rm -rf juLogFile && cat matlab_log.log | grep "test id" > juLogFile 311 312 while read i; do 313 juLog -name=Error -error=ERROR echo $i 314 juLog -name=Failure -error=FAILURE echo $i 315 done < juLogFile 316 #}}} 310 #number tests: 311 numtests=`cat matlab_log.log | grep "\-\-\-\-\-\-\-\-starting" | wc -l` 312 testlist=`cat matlab_log.log | grep "\-\-\-\-\-\-\-\-starting" | sed 's/----------------starting://g' | sed 's/-//g'` 313 314 #look through numtests: 315 for i in `echo $testlist` 316 do 317 test=`awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log` 318 juLog -name=Error -error=ERROR echo $test 319 juLog -name=Failure -error=FAILURE echo $test 320 done 321 #}}}
Note:
See TracChangeset
for help on using the changeset viewer.