Skip to content

Commit

Permalink
Update that looks for Xvfb PID before attempting to kill it when synt…
Browse files Browse the repository at this point in the history
…hesizing designs

Signed-off-by: Pagadarai <[email protected]>
  • Loading branch information
SrikanthPagadarai committed Aug 8, 2023
1 parent 85cd5d2 commit 6158e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CI/scripts/synth_designs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +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');"
XVFB_RET = $(pidof Xvfb)
pidof Xvfb
if [ $? -eq 0 ]; then
kill -9 `pidof Xvfb`
fi

0 comments on commit 6158e25

Please sign in to comment.