Changeset 24219
- Timestamp:
- 10/14/19 15:02:35 (5 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/jenkins/jenkins.sh
r24218 r24219 520 520 521 521 # Check that Python did not exit in error 522 pythonExitedInError=`grep "Traceback" python_log.log | wc -l`522 pythonExitedInError=`grep -E "Traceback|bad interpreter" python_log.log | wc -l` 523 523 524 524 if [ $pythonExitedInError -ne 0 ] … … 532 532 533 533 exit 1 534 else 535 echo "PYTHONEXITEDCORRECTLY" 536 fi 534 fi 535 536 # Python tests must have run and exited successfully (unless we have missed something) 537 echo "PYTHONEXITEDCORRECTLY" 537 538 538 539 if [ $EXAMPLES_TEST -eq 1 ]; -
issm/trunk-jpl/test/NightlyRun/runme.py
r24214 r24219 1 #! / usr / bin /env python1 #!/usr/bin/env python 2 2 import os 3 3 import argparse … … 245 245 246 246 parser = argparse.ArgumentParser(description='RUNME - test deck for ISSM nightly runs') 247 parser.add_argument(' -i', '--id', nargs=' *', type=int, help='followed by the list of ids requested', default=[])248 parser.add_argument(' -in', '--include_name', nargs=' *', type=str, help='followed by the list of test names requested', default=[])249 parser.add_argument(' -e', '--exclude', nargs=' +', type=int, help='ids to be excluded from the test', default=[])250 parser.add_argument(' -en', '--exclude_name', nargs=' +', type=str, help='test names to be excluded from the test', default=[])251 parser.add_argument(' 252 parser.add_argument(' 253 parser.add_argument(' 254 parser.add_argument(' 255 parser.add_argument(' 247 parser.add_argument('-i', '--id', nargs='*', type=int, help='followed by the list of ids requested', default=[]) 248 parser.add_argument('-in', '--include_name', nargs='*', type=str, help='followed by the list of test names requested', default=[]) 249 parser.add_argument('-e', '--exclude', nargs='+', type=int, help='ids to be excluded from the test', default=[]) 250 parser.add_argument('-en', '--exclude_name', nargs='+', type=str, help='test names to be excluded from the test', default=[]) 251 parser.add_argument('-b', '--benchmark', help='nightly/ismip/eismint/thermal/mesh/...', default='nightly') 252 parser.add_argument('-p', '--procedure', help='check/update', default='check') 253 parser.add_argument('-o', '--output', help='nightly/daily/none', default='none') 254 parser.add_argument('-r', '--rank', type=int, help='rank', default=1) 255 parser.add_argument('-n', '--numprocs', type=int, help='numprocs', default=1) 256 256 args = parser.parse_args() 257 257
Note:
See TracChangeset
for help on using the changeset viewer.