From 0976144b8863ee8f181dfb5ad1cd0c3f65c1d692 Mon Sep 17 00:00:00 2001 From: Andrew Mao Date: Thu, 4 Jun 2026 12:25:39 -0700 Subject: [PATCH] added env args --- src/.bazelrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/.bazelrc b/src/.bazelrc index f8c8b2845d..339f662842 100644 --- a/src/.bazelrc +++ b/src/.bazelrc @@ -16,11 +16,14 @@ test --test_output=all ################ Machine Configurations ################ -# The XDR_RUNTIME_DIR and DISPLAY environment variables must be passed to the tests -# so that our GUIs can be enabled for simulated tests. This is needed for Qt -# to find the X-Window system and create windows +# The XDG_RUNTIME_DIR, DISPLAY, WAYLAND_DISPLAY, and QT_QPA_PLATFORM +# environment variables must be passed to the tests so that our GUIs can be +# enabled for simulated tests. This is needed for Qt to find the X-Window +# system or Wayland and create windows. build --test_env=XDG_RUNTIME_DIR build --test_env=DISPLAY +build --test_env=WAYLAND_DISPLAY +build --test_env=QT_QPA_PLATFORM # Setup python bin/lib to point to our venv build --action_env=PYTHON_BIN_PATH=/opt/tbotspython/bin/python3.12