Changeset 23312
- Timestamp:
- 09/18/18 13:13:49 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/packagers/win10/package64.sh
r23304 r23312 23 23 $MATLAB_PATH/bin/matlab -nodisplay -nosplash -r "try, addpath $ISSM_DIR_WIN/bin $ISSM_DIR_WIN/lib; runme('id',101); exit; catch me,fprintf('%s',getReport(me)); exit; end" -logfile matlab.log 24 24 25 #wait until matlab closes 26 if [ "$OS" = "win" ]; then 27 sleep 5; 28 echo "Waiting for Matlab to run test101" 29 pid=$(ps aux -W | grep MATLAB | awk '{printf("%s\n","MATLAB");}') 30 echo '-----------------------------' 31 echo "pid: $pid" 32 echo '-----------------------------' 33 while [ -n "$pid" ] 34 do 35 pid=$(ps aux -W | grep MATLAB | awk '{printf("%s\n","MATLAB");}') 36 sleep 1; 37 done 38 echo "DONE!" 39 else 40 wait 41 fi 42 25 43 if [[ $(cat matlab.log | grep -c SUCCESS) -lt 10 ]]; then 26 44 echo "test101 FAILED"
Note:
See TracChangeset
for help on using the changeset viewer.