Skip to content

Commit 0125c25

Browse files
committed
synth_designs.sh: Add root repo path
1 parent 657be65 commit 0125c25

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

CI/scripts/synth_designs.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
BOARD=$1
44
MLFLAGS="-nodisplay -nodesktop -nosplash"
5-
65
if [ -z "$MLRELEASE" ]
76
then
8-
MLRELEASE=R2022b
7+
MLRELEASE=R2022a
98
fi
109

1110
MLPATH=/usr/local/MATLAB
@@ -23,7 +22,7 @@ Xvfb :77 &
2322
export DISPLAY=:77
2423
export SWT_GTK3=0
2524
source /opt/Xilinx/Vivado/$VIVADORELEASE/settings64.sh
26-
$MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "cd('test');runSynthTests('$BOARD');"
25+
$MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "addpath(genpath(pwd));cd('test');runSynthTests('$BOARD');"
2726
pidof Xvfb
2827
if [ $? -eq 0 ]; then
2928
kill -9 `pidof Xvfb`

0 commit comments

Comments
 (0)