Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing: write a test to validate that custom attributes can flow through the display configuration #184

Open
mattkae opened this issue May 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mattkae
Copy link
Contributor

mattkae commented May 24, 2024

Validate that custom attributes can be provided in the display configuration. This
was first encountered in #172. To
test:

  1. Start a Mir compositor with the --display-config static=$FILENAME flag
  2. In the configuration, have a custom attribute, e.g. snap-name in the following example:
    # ...
     HDMI-A-4:
       state: enabled
       mode: [email protected]
       position: [2560, 0]
       orientation: normal
       scale: 1
       group: 0
       snap-name: mir-kiosk-neverputt
  3. Check the logs of your compositor. On ubuntu-frame you can do:
    snap logs ubuntu-frame -n 50
  4. Validate that you see your custom attribute when the display is logged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant