Changeset 27431


Ignore:
Timestamp:
11/27/22 19:31:40 (2 years ago)
Author:
jdquinn
Message:

CHG: Fix to catch “syntax error”

Location:
issm/trunk-jpl
Files:
7 edited

Legend:

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

    r27428 r27431  
    497497
    498498        # Check that Python did not exit in error
    499         pythonExitedInError=`grep -E "Error|Standard exception|Traceback|bad interpreter" python_log.log | wc -l`
     499        pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter|syntax error" python.log`
    500500
    501501        if [ $pythonExitedInError -ne 0 ]; then
  • issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-2.sh

    r27158 r27431  
    139139        # Check that Python did not exit in error
    140140        pythonExitCode=`echo $?`
    141         pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter" python.log`
     141        pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter|syntax error" python.log`
    142142
    143143        if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
  • issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh

    r27158 r27431  
    142142        # Check that Python did not exit in error
    143143        pythonExitCode=`echo $?`
    144         pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter" python.log`
     144        pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter|syntax error" python.log`
    145145
    146146        if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
  • issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-python-2.sh

    r27158 r27431  
    152152        # Check that Python did not exit in error
    153153        pythonExitCode=`echo $?`
    154         pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter" python.log`
     154        pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter|syntax error" python.log`
    155155
    156156        if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
  • issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-python-3.sh

    r27158 r27431  
    155155        # Check that Python did not exit in error
    156156        pythonExitCode=`echo $?`
    157         pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter" python.log`
     157        pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter|syntax error" python.log`
    158158
    159159        if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
  • issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-python-2.sh

    r27148 r27431  
    3434# Check that Python did not exit in error
    3535pythonExitCode=`echo $?`
    36 pythonExitedInError=`grep -c -E "runme.py: error" python.log`
     36pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter|syntax error" python.log`
    3737
    3838if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
  • issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-python-3.sh

    r27148 r27431  
    3434# Check that Python did not exit in error
    3535pythonExitCode=`echo $?`
    36 pythonExitedInError=`grep -c -E "runme.py: error" python.log`
     36pythonExitedInError=`grep -c -E "Error|Standard exception|Traceback|bad interpreter|syntax error" python.log`
    3737
    3838if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
Note: See TracChangeset for help on using the changeset viewer.