nixos/tests/keymap: Workaround xterm not in focus#33719
nixos/tests/keymap: Workaround xterm not in focus#33719srhb wants to merge 1 commit intoNixOS:masterfrom
Conversation
|
@GrahamcOfBorg test keymap.colemak |
|
@aszlig Unless you have a fix in the pipeline, I think this would help! :) |
GrahamcOfBorg
left a comment
There was a problem hiding this comment.
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-sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)