Files
komorebi/nix/linux/tests/vm/suites/check/test.py
T
LGUG2Z f01853ceca refactor(repo): move the KDE and macOS nix files under nix/ (pure move)
komorebi-for-kde/nix/ -> nix/linux/
komorebi-for-mac/nix/ -> nix/macos/

The nix expressions of the platforms (modules, option files, VM test suites, kwin effects,
the darwin module) sit next to the existing nix/workspace-src.nix. Renames only (252
files); the flakes that import them are replaced by one root flake later in this stack, so
nix does not evaluate at this revision.
2026-11-05 15:03:27 -08:00

23 lines
1.2 KiB
Python

# `komorebic check` against a real (headless) KWin: what it finds of the desktop, and what it says
# when something is missing: no Plasma shell for the wallpapers, a stock effect shadowing komorebi's
# own, komorebi without its script in KWin, komorebi not running, no KWin on the bus. What only a
# real KWin can tell: that its version is read from what KWin says of itself, that the effects are
# komorebi's builds because of what they contain, that a daemon is told from its script by KWin's
# own answer, that a bus with no KWin on it is an error with an exit status that says so, and that
# the shortcut files the check compares with are in the directory `komorebic hotkeys compile`
# writes to in a session. The configuration and the exit status are covered by
# `komorebi/src/check.rs` and `komorebic/tests/linux_check.rs`, against no desktop.
from komorebi_vm import Checks
from komorebi_vm.core.suite import platform_only, run_suite
from komorebi_vm.platforms.kde.extras import check as kde_check
start_all()
machine.wait_for_unit("multi-user.target")
machine.wait_for_unit("user@1000.service")
checks = Checks()
run_suite(checks, platform_only("kde", kde_check.run, machine, checks, SCALE))
checks.finish()