Changeset 27951


Ignore:
Timestamp:
10/08/23 14:17:36 (18 months ago)
Author:
jdquinn
Message:

BUG: Did not need word count after grep’ping

Location:
issm/trunk-jpl/packagers
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh

    r27944 r27951  
    140140
    141141        # Check that MATLAB did not exit in error
    142         matlabExitedInError=`grep -c -E "Activation cannot proceed|Error in|Illegal|Invalid MEX-file|license|Warning: Name is nonexistent or not a directory" matlab.log | wc -l`
     142        matlabExitedInError=`grep -c -E "Activation cannot proceed|Error in|Illegal|Invalid MEX-file|license|Warning: Name is nonexistent or not a directory" matlab.log`
    143143
    144144        if [ ${matlabExitedInError} -ne 0 ]; then
  • issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh

    r27944 r27951  
    139139        # Check that Python did not exit in error
    140140        pythonExitCode=`echo $?`
    141         pythonExitedInError=`grep -c -E "Error|No such file or directory|Permission denied|Standard exception|Traceback|bad interpreter|syntax error" python.log | wc -l`
     141        pythonExitedInError=`grep -c -E "Error|No such file or directory|Permission denied|Standard exception|Traceback|bad interpreter|syntax error" python.log`
    142142
    143143        if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
  • issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-matlab.sh

    r27944 r27951  
    147147
    148148        # Check that MATLAB did not exit in error
    149         matlabExitedInError=`grep -c -E "Activation cannot proceed|Error in|Illegal|Invalid MEX-file|license|Warning: Name is nonexistent or not a directory" matlab.log | wc -l`
     149        matlabExitedInError=`grep -c -E "Activation cannot proceed|Error in|Illegal|Invalid MEX-file|license|Warning: Name is nonexistent or not a directory" matlab.log`
    150150
    151151        if [ ${matlabExitedInError} -ne 0 ]; then
  • issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-python-3.sh

    r27944 r27951  
    145145        # Check that Python did not exit in error
    146146        pythonExitCode=`echo $?`
    147         pythonExitedInError=`grep -c -E "Error|No such file or directory|Permission denied|Standard exception|Traceback|bad interpreter|syntax error" python.log | wc -l`
     147        pythonExitedInError=`grep -c -E "Error|No such file or directory|Permission denied|Standard exception|Traceback|bad interpreter|syntax error" python.log`
    148148
    149149        if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
  • issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-matlab.sh

    r27944 r27951  
    3434# Check that MATLAB did not exit in error
    3535matlabExitCode=`echo $?`
    36 matlabExitedInError=`grep -c -E "Activation cannot proceed|Error in|Illegal|Invalid MEX-file|license|Warning: Name is nonexistent or not a directory" matlab.log | wc -l`
     36matlabExitedInError=`grep -c -E "Activation cannot proceed|Error in|Illegal|Invalid MEX-file|license|Warning: Name is nonexistent or not a directory" matlab.log`
    3737
    3838if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then
  • issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-python-3.sh

    r27944 r27951  
    3434# Check that Python did not exit in error
    3535pythonExitCode=`echo $?`
    36 pythonExitedInError=`grep -c -E "Error|No such file or directory|Permission denied|Standard exception|Traceback|bad interpreter|syntax error" python.log | wc -l`
     36pythonExitedInError=`grep -c -E "Error|No such file or directory|Permission denied|Standard exception|Traceback|bad interpreter|syntax error" python.log`
    3737
    3838if [[ ${pythonExitCode} -ne 0 || ${pythonExitedInError} -ne 0 ]]; then
  • issm/trunk-jpl/packagers/win/package-issm-win-binaries-matlab.sh

    r27948 r27951  
    196196
    197197        # Check that MATLAB did not exit in error
    198         matlabExitedInError=`grep -c -E "Activation cannot proceed|Error in|Illegal|Invalid MEX-file|license|Warning: Name is nonexistent or not a directory" matlab.log | wc -l`
     198        matlabExitedInError=`grep -c -E "Activation cannot proceed|Error in|Illegal|Invalid MEX-file|license|Warning: Name is nonexistent or not a directory" matlab.log`
    199199
    200200        if [ ${matlabExitedInError} -ne 0 ]; then
Note: See TracChangeset for help on using the changeset viewer.