android-test: headless emulator default for GUI smokes
Default EMULATOR_HEADLESS=1 (-no-window, QT offscreen) while guest GLES still runs via SwiftShader. Auto-start AVD when no adb device; WINDOWED=1 for a host window on laptops.
This commit is contained in:
parent
4b729663b3
commit
0c3019822f
8 changed files with 320 additions and 59 deletions
|
|
@ -156,12 +156,12 @@ STACK=stage ./android-test/run-android-pay-smoke.sh
|
|||
**User-local emulator (no apt root if SDK already under `$HOME/Android/Sdk`):**
|
||||
|
||||
```bash
|
||||
export ANDROID_HOME=$HOME/Android/Sdk
|
||||
export PATH=$ANDROID_HOME/emulator:$ANDROID_HOME/platform-tools:$PATH
|
||||
# AVD e.g. TalerWallet34 (google_apis x86_64)
|
||||
emulator -avd TalerWallet34 -no-window -gpu swiftshader_indirect -memory 1536 &
|
||||
adb wait-for-device
|
||||
# Default = headless (no host window); guest GLES via SwiftShader.
|
||||
# Prefer the helper — same flags smokes use:
|
||||
./android-test/start-android-emulator.sh --wait
|
||||
./android-test/run-android-pay-smoke.sh
|
||||
# Or let smoke auto-start the AVD (AUTO_START_EMULATOR=1).
|
||||
# Windowed laptop: WINDOWED=1 ./android-test/start-android-emulator.sh --wait
|
||||
```
|
||||
|
||||
**Limits (clementine 2026-07-17):** host RAM ~3.7 GiB → emulator often ANRs System UI;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue