Skip to content

Commit

Permalink
Updated synth_designs.sh to look for Xvfb PID before attempting to ki…
Browse files Browse the repository at this point in the history
…ll it

Signed-off-by: Pagadarai <[email protected]>
  • Loading branch information
SrikanthPagadarai committed Aug 7, 2023
1 parent dc0c8ef commit 85cd5d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CI/scripts/synth_designs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ export DISPLAY=:77
export SWT_GTK3=0
source /opt/Xilinx/Vivado/2021.2/settings64.sh
$MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "cd('test');runSynthTests('$BOARD');"
kill -9 `pidof Xvfb`
XVFB_RET = $(pidof Xvfb)
if [ $? -eq 0 ]; then
kill -9 `pidof Xvfb`
fi

0 comments on commit 85cd5d2

Please sign in to comment.