Changeset 23312


Ignore:
Timestamp:
09/18/18 13:13:49 (7 years ago)
Author:
jdquinn
Message:

CHG: Packaging Win10 binaries instead as a tarball

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/packagers/win10/package64.sh

    r23304 r23312  
    2323$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
    2424
     25#wait until matlab closes
     26if [ "$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!"
     39else
     40        wait
     41fi
     42
    2543if [[ $(cat matlab.log | grep -c SUCCESS) -lt 10 ]]; then
    2644        echo "test101 FAILED"
Note: See TracChangeset for help on using the changeset viewer.