diff --git a/CI/scripts/synth_designs.sh b/CI/scripts/synth_designs.sh index 4c74b6b..93dc3ac 100644 --- a/CI/scripts/synth_designs.sh +++ b/CI/scripts/synth_designs.sh @@ -2,10 +2,9 @@ BOARD=$1 MLFLAGS="-nodisplay -nodesktop -nosplash" - if [ -z "$MLRELEASE" ] then - MLRELEASE=R2022b + MLRELEASE=R2022a fi MLPATH=/usr/local/MATLAB @@ -23,7 +22,7 @@ Xvfb :77 & export DISPLAY=:77 export SWT_GTK3=0 source /opt/Xilinx/Vivado/$VIVADORELEASE/settings64.sh -$MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "cd('test');runSynthTests('$BOARD');" +$MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "addpath(genpath(pwd));cd('test');runSynthTests('$BOARD');" pidof Xvfb if [ $? -eq 0 ]; then kill -9 `pidof Xvfb`