Changeset 16713
- Timestamp:
- 11/12/13 08:00:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/jenkins/jenkins.sh
r16709 r16713 347 347 juLogClean 348 348 349 #number tests: 350 numtests=`cat matlab_log.log | grep "\-\-\-\-\-\-\-\-starting" | wc -l` 351 testlist=`cat matlab_log.log | grep "\-\-\-\-\-\-\-\-starting" | sed 's/----------------starting://g' | sed 's/-//g'` 352 353 #look through numtests: 354 for i in `echo $testlist` 355 do 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 360 done 361 #}}} 349 if [ $MATLAB_TEST -eq 1 ]; then 350 #number tests: 351 numtests=`cat matlab_log.log | grep "\-\-\-\-\-\-\-\-starting" | wc -l` 352 testlist=`cat matlab_log.log | grep "\-\-\-\-\-\-\-\-starting" | sed 's/----------------starting://g' | sed 's/-//g'` 353 354 #look through numtests: 355 for i in `echo $testlist` 356 do 357 juLog -test=MATLAB-$i -name=Error -error=ERROR awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log 358 juLog -test=MATLAB-$i -name=Failure -error=FAILURE awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log 359 done 360 fi 361 if [ $PYTHON_TEST -eq 1 ]; then 362 #number tests: 363 numtests=`cat python_log.log | grep "\-\-\-\-\-\-\-\-starting" | wc -l` 364 testlist=`cat python_log.log | grep "\-\-\-\-\-\-\-\-starting" | sed 's/----------------starting://g' | sed 's/-//g'` 365 366 #look through numtests: 367 for i in `echo $testlist` 368 do 369 juLog -test=PYTHON-$i -name=Error -error=ERROR awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" python_log.log 370 juLog -test=PYTHON-$i -name=Failure -error=FAILURE awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" python_log.log 371 done 372 fi 373 #}}}
Note:
See TracChangeset
for help on using the changeset viewer.