Drop the nice(1) dependency from the load test; ship htop on the dev image

The image has no `nice` binary - BusyBox ships renice only - so
motion.step-timing-under-load could not spawn its CPU hog at all. Set the
niceness from the parent with os.setpriority once the child exists, and
assert the value that actually took: a hog left at nice 0 would be a
harsher test than intended, and one left unset must not pass silently.

Add htop to the dev image for bench diagnostics. The release image is
unchanged - it carries neither forgetest nor htop.
This commit is contained in:
ScottW514
2026-08-17 17:02:16 -04:00
parent faaa6cb40b
commit 5a3bd902fe
2 changed files with 17 additions and 3 deletions
@@ -9,6 +9,7 @@ DESCRIPTION = "OpenGlow/ForgeFIRM development image for Glowforge"
IMAGE_INSTALL += " \
forgectrl \
forgetest \
htop \
"
# debug-tweaks (passwordless root, root SSH login) belongs ONLY to the dev