Changeset 23830
- Timestamp:
- 04/08/19 15:38:55 (6 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/jenkins/jenkins.sh
r23796 r23830 382 382 done 383 383 fi 384 385 # Check that Python did not exit in error386 exitedInError=`grep "Traceback" python_log.log | wc -l`387 388 if [ $exitedInError -ne 0 ]389 then390 echo "----------Python exited in error!----------"391 cat python_log.log392 echo "-------------------------------------------"393 exit 1394 fi395 384 # }}} 396 385 … … 525 514 done 526 515 fi 516 517 # Check that Python did not exit in error 518 pythonExitedInError=`grep "Traceback" python_log.log | wc -l` 519 520 if [ $pythonExitedInError -ne 0 ] 521 then 522 echo "----------Python exited in error!----------" 523 cat python_log.log 524 echo "-----------End of python_log.log-----------" 525 exit 1 526 else 527 echo "PYTHONEXITEDCORRECTLY" 528 fi 529 527 530 if [ $EXAMPLES_TEST -eq 1 ]; 528 531 then -
issm/trunk-jpl/test/NightlyRun/runme.py
r23796 r23830 252 252 args = parser.parse_args() 253 253 254 md = runme([args.id, args.include_name], [args.exclude, args.exclude_name], args.benchmark, args.procedure, args.output, args.rank, args.numprocs) 255 256 if args.output == 'nightly': 257 print("PYTHONEXITEDCORRECTLY") 254 md = runme([args.id, args.include_name], [args.exclude, args.exclude_name], args.benchmark, args.procedure, args.output, args.rank, args.numprocs 258 255 259 256 exit(md) 257 else: 258 print("PYTHONSTARTUP not defined in environment") 259 raise RuntimeError()
Note:
See TracChangeset
for help on using the changeset viewer.