|
From: andypugh <no...@gi...> - 2026-05-24 18:26:54
|
Branch: refs/heads/master Home: https://github.com/LinuxCNC/linuxcnc Commit: 9d3c6f8065ea76319fd1980ccfe2933ab4b57640 https://github.com/LinuxCNC/linuxcnc/commit/9d3c6f8065ea76319fd1980ccfe2933ab4b57640 Author: Luca Toniolo <107...@us...> Date: 2026-05-11 (Mon, 11 May 2026) Changed paths: A tests/ui-smoke/.gitignore A tests/ui-smoke/README A tests/ui-smoke/_lib/checkresult.sh A tests/ui-smoke/_lib/cleanup-runtime.sh A tests/ui-smoke/_lib/drive.py A tests/ui-smoke/_lib/launch.sh A tests/ui-smoke/_lib/run-gui.sh A tests/ui-smoke/_lib/skip-if-missing.sh A tests/ui-smoke/axis/checkresult A tests/ui-smoke/axis/skip A tests/ui-smoke/axis/test.sh A tests/ui-smoke/gmoccapy/checkresult A tests/ui-smoke/gmoccapy/skip A tests/ui-smoke/gmoccapy/test.sh A tests/ui-smoke/qtdragon/checkresult A tests/ui-smoke/qtdragon/skip A tests/ui-smoke/qtdragon/test.sh A tests/ui-smoke/touchy/checkresult A tests/ui-smoke/touchy/skip A tests/ui-smoke/touchy/test.sh Log Message: ----------- test: add UI smoke tests for axis, touchy, gmoccapy, qtdragon Adds a minimal harness under tests/ui-smoke/ that launches each GUI against its sim config under xvfb-run and verifies it reaches the 'task ready' NML state without crashing. Auto-discovered by scripts/runtests via per-GUI test.sh + checkresult + skip files. Layout: _lib/launch.sh - spawns linuxcnc -r under xvfb, runs driver, handles clean shutdown (group-SIGTERM with 60s wait, escalate to SIGKILL + shm cleanup) _lib/drive.py - polls linuxcnc.stat() until task ready, prints UI_SMOKE_OK / UI_SMOKE_FAIL _lib/checkresult.sh - grep for UI_SMOKE_OK / absence of FAIL _lib/skip-if-missing.sh - skip when xvfb-run absent (dev env) _lib/cleanup-runtime.sh - pre/post belt-and-braces daemon + shm cleanup; SHM key list mirrors scripts/runtests:157 (full 6-key set) _lib/run-gui.sh - dispatcher taking a relpath under configs/sim/, exec'd by per-GUI test.sh axis|touchy|gmoccapy|qtdragon/test.sh - one-line wrappers Force software OpenGL via LIBGL_ALWAYS_SOFTWARE + Qt RHI/QSG/QtQuick software backends; CI runners have no GPU and Qt GL paths segfault on headless display. Skip vs fail policy (BsAtHome / hdiethelm review): only xvfb-run absence skips; missing Python/typelib deps fail loudly so review catches them. Required deps are gated under !nocheck in debian/control.top.in (separate commit). Commit: df9dd5f5e7f29a08d3e3c81b603e01662f76a60c https://github.com/LinuxCNC/linuxcnc/commit/df9dd5f5e7f29a08d3e3c81b603e01662f76a60c Author: Luca Toniolo <107...@us...> Date: 2026-05-11 (Mon, 11 May 2026) Changed paths: M debian/control.top.in Log Message: ----------- debian: add GUI runtime python deps under !nocheck Adds the Python, Qt, GTK and typelib runtime deps needed for the ui-smoke harness under tests/ui-smoke/ to actually exercise each GUI's import path on CI. All gated with <!nocheck> so users building with DEB_BUILD_OPTIONS=nocheck aren't penalised with the extra packages. Includes pyqt5 (+ qsci/qtsvg/qtopengl/qtwebengine/qtpy/dev-tools), python3-dbus.mainloop.pyqt5, python3-cairo, python3-gi(+cairo), gir1.2-gtk-3.0, gir1.2-gtksource-4, python3-numpy, python3-configobj, xvfb and x11-xserver-utils. Commit: 0ff51a4ee17e2b4642df75b3771f346f91246e0b https://github.com/LinuxCNC/linuxcnc/commit/0ff51a4ee17e2b4642df75b3771f346f91246e0b Author: andypugh <an...@bo...> Date: 2026-05-24 (Sun, 24 May 2026) Changed paths: M debian/control.top.in A tests/ui-smoke/.gitignore A tests/ui-smoke/README A tests/ui-smoke/_lib/checkresult.sh A tests/ui-smoke/_lib/cleanup-runtime.sh A tests/ui-smoke/_lib/drive.py A tests/ui-smoke/_lib/launch.sh A tests/ui-smoke/_lib/run-gui.sh A tests/ui-smoke/_lib/skip-if-missing.sh A tests/ui-smoke/axis/checkresult A tests/ui-smoke/axis/skip A tests/ui-smoke/axis/test.sh A tests/ui-smoke/gmoccapy/checkresult A tests/ui-smoke/gmoccapy/skip A tests/ui-smoke/gmoccapy/test.sh A tests/ui-smoke/qtdragon/checkresult A tests/ui-smoke/qtdragon/skip A tests/ui-smoke/qtdragon/test.sh A tests/ui-smoke/touchy/checkresult A tests/ui-smoke/touchy/skip A tests/ui-smoke/touchy/test.sh Log Message: ----------- Merge pull request #3999 from grandixximo/ui-tests test: UI smoke tests for axis, touchy, gmoccapy, qtdragon Compare: https://github.com/LinuxCNC/linuxcnc/compare/e82ee29a0f4f...0ff51a4ee17e To unsubscribe from these emails, change your notification settings at https://github.com/LinuxCNC/linuxcnc/settings/notifications |