-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
nixos/tests/keymap: Workaround xterm not in focus #33719
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
Conversation
@GrahamcOfBorg test keymap.colemak |
@aszlig Unless you have a fix in the pipeline, I think this would help! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: x86_64-linux
syncing
machine: running command: sync
machine: exit status 0
2 out of 2 tests succeeded
test script finished in 13.78s
cleaning up
killing machine (pid 596)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/tmp/nix-build-vm-test-run-keymap-colemak.drv-0/vde1.ctl': Directory not empty
/nix/store/l4grja9g7b95lqgw9icvpg6hv3rf05r2-vm-test-run-keymap-colemak
da885b6
to
552b9ec
Compare
I'm honestly not sure but perhaps we would need to |
Ugh, how annoying. If we can disable the extra xterm, let's do that instead. It just looked like it was hard to reach agreement in. |
Thanks! :-) I also have a small change on top of this one that so far remains resilient to my attempts to break the tests 😆 (but not sure how it would fare on Hydra). That may leave us an option to revive this PR if there are objections to disabling xterm. |
Motivation for this change
Attempt to alleviate the failing keymap tests discussed in #32020
Things done
xdotool now brings the xterm into focus before sending keys. Tested by starting xterm with -iconic, which works.
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)