Skip to content

Commit a7df21f

Browse files
authored
Simulated Tests Wayland Support (#3757)
1 parent 8c8e4ea commit a7df21f

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/.bazelrc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ test --test_output=all
1616

1717
################ Machine Configurations ################
1818

19-
# The XDR_RUNTIME_DIR and DISPLAY environment variables must be passed to the tests
20-
# so that our GUIs can be enabled for simulated tests. This is needed for Qt
21-
# to find the X-Window system and create windows
19+
# The XDG_RUNTIME_DIR, DISPLAY, WAYLAND_DISPLAY, and QT_QPA_PLATFORM
20+
# environment variables must be passed to the tests so that our GUIs can be
21+
# enabled for simulated tests. This is needed for Qt to find the X-Window
22+
# system or Wayland and create windows.
2223
build --test_env=XDG_RUNTIME_DIR
2324
build --test_env=DISPLAY
25+
build --test_env=WAYLAND_DISPLAY
26+
build --test_env=QT_QPA_PLATFORM
2427

2528
# Setup python bin/lib to point to our venv
2629
build --action_env=PYTHON_BIN_PATH=/opt/tbotspython/bin/python3.12

0 commit comments

Comments
 (0)