DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Testing

Config checks and headless runs

Testing

The repository has no Meson test suite. Check the config parser and run the compositor on a headless backend.

SECTION 05 · Development
Scope: Verification
Repository and source ↗

Check a config

./build/dragonfruit -c "$PWD/assets/config.conf" -p

Headless run

mkdir -m 700 /tmp/df-test
env -u DRAGONFRUIT_INSTANCE_SIGNATURE XDG_RUNTIME_DIR=/tmp/df-test \
  WLR_BACKENDS=headless WLR_HEADLESS_OUTPUTS=1 WLR_LIBINPUT_NO_DEVICES=1 \
  ./build/dragonfruit -c "$PWD/assets/config.conf"

Drive it with dfmsg using the new instance's signature. Check that windows open, the camera pans, canvas_overview and canvas_jump work, and the compositor exits cleanly.

← Previous

Project structure

Next →

Roadmap