mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-12 03:21:08 +00:00
* feat: tools/device-smoke.sh checks a build on a real device over plain adb Installs and launches the app, changes the density and the window size, cycles a foldable's device state, then reads the newest debug session (first frame, last frame rate, memory page size, process exits). It restores the display and the device state it changed. No python needed; complements tools/droiddeck-scenario, which drives games. * fix: device-smoke.sh restores only what it changed and checks more carefully Restore the device state by cancelling the override the script made, or by putting back the override that was already pinned (a test lab pins one), instead of pinning the committed state. Restore density and size only after the script changed them. Keep adb's exit status, count only crashes of the tested app and fail when the crash buffer cannot be read, compare the top activity after the density change, and exit 2 when an option value is missing. * fix: check wm density/size exit statuses and keep restore flags on failure * fix: verify smoke-test display changes and restoration * fix: reject false smoke-test launches and quote remote paths * Run final display cleanup before reporting smoke results --------- Co-authored-by: ovurrsl <ovurrsl@users.noreply.github.com> Co-authored-by: xXJsonDeruloXx <danielhimebauch@gmail.com>