From 7f011d1d022bf3bdf597e8714086979a10d4c43d Mon Sep 17 00:00:00 2001 From: Stanca Pop Date: Wed, 4 Oct 2023 10:33:06 +0300 Subject: [PATCH] synth_designs.sh: Add root repo path --- CI/scripts/synth_designs.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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`