- Timestamp:
- 07/06/22 16:22:56 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-matlab.sh
r27127 r27148 34 34 # Check that MATLAB did not exit in error 35 35 matlabExitCode=`echo $?` 36 matlabExitedInError=`grep - E "Activation cannot proceed|license|Error|Warning: Name is nonexistent or not a directory" matlab.log | wc -l`36 matlabExitedInError=`grep -c -E "Activation cannot proceed|license|Error|Warning: Name is nonexistent or not a directory" matlab.log` 37 37 38 38 if [[ ${matlabExitCode} -ne 0 || ${matlabExitedInError} -ne 0 ]]; then … … 45 45 46 46 # Check that all tests passed 47 numTestsFailed=` cat matlab.log | grep -c -e "FAILED|ERROR"`47 numTestsFailed=`grep -c -E "FAILED|ERROR" matlab.log` 48 48 49 49 if [[ ${numTestsFailed} -ne 0 ]]; then
Note:
See TracChangeset
for help on using the changeset viewer.