Skip to content

Commit

Permalink
[tools] Allow XAUTHORITY in tests (#21422)
Browse files Browse the repository at this point in the history
This is required on Ubuntu 24.04 (when running in an interactive
session using Wayland, at least).
  • Loading branch information
jwnimmer-tri authored May 11, 2024
1 parent 8f69321 commit 918d6dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/bazel.rc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ build --test_summary=terse
# config_setting rules for proprietary software are provided in //tools.
build --test_tag_filters=-gurobi,-mosek,-snopt

# Inject DISPLAY into test runner environment for tests that use X.
# Allow user environment variables relating to host graphics configuration to
# flow through to tests that use X.
build --test_env=DISPLAY
build --test_env=XAUTHORITY

# Location of the Gurobi license key file, typically named "gurobi.lic".
# Setting this --test_env for all configurations is deliberate to improve
Expand Down

0 comments on commit 918d6dc

Please sign in to comment.