Skip to content

Commit

Permalink
Fix display exports
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Dec 19, 2024
1 parent 481fd13 commit f990ee9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CI/scripts/synth_designs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -x

BOARD=$1
MLFLAGS="-nodisplay -nodesktop -nosplash"
Expand All @@ -18,7 +19,7 @@ source /opt/Xilinx/Vivado/2022.2/settings64.sh
export DISPLAY_ID=:$(shuf -i 10-1000 -n 1)
Xvfb :$DISPLAY_ID &
XVFB_PID=$!
export DISPLAY=:$DISPLAY_ID
export DISPLAY=$DISPLAY_ID
export SWT_GTK3=0
source /opt/Xilinx/Vivado/2022.2/settings64.sh
$MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "cd('test');runSynthTests('$BOARD');"
Expand Down
3 changes: 2 additions & 1 deletion CI/scripts/targeting_designs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -x

MLFLAGS="-nodisplay -nodesktop -nosplash"

Expand All @@ -20,7 +21,7 @@ source /opt/Xilinx/Vivado/2022.2/settings64.sh
export DISPLAY_ID=:$(shuf -i 10-1000 -n 1)
Xvfb :$DISPLAY_ID &
XVFB_PID=$!
export DISPLAY=:$DISPLAY_ID
export DISPLAY=$DISPLAY_ID
export SWT_GTK3=0
source /opt/Xilinx/Vivado/2022.2/settings64.sh
$MLPATH/$MLRELEASE/bin/matlab $MLFLAGS -r "addpath(genpath('test'));addpath(genpath('deps'));runDemoTests('$DEMO');"
Expand Down

0 comments on commit f990ee9

Please sign in to comment.