Refresh native regressions for shared reader core

Resolve fake USB fixtures from the selected shared transport package. Update speech control order, quick-setting and voice-profile navigation, phonetic and punctuation expectations, and persistence assertions while retaining keyboard isolation and cleanup checks.

Validated the full race-enabled Go suite, eight Python tests, vet, lint, the complete private-X11 terminal harness, and both fake-hardware suites for five synthesizers and both keyboard layouts. Live speech, physical input, Braille, and real synthesizers remain human acceptance checks.
This commit is contained in:
Storm Dragon committed 2026-11-16 23:41:22 -05:00
1 parent 1a0193030d
commit 6a02035373
5 files changed
+94 -34

No files matched your search

+19 -1
View File
@@ -414,9 +414,27 @@ To add a language or update a catalog, see the
Run the Go tests from the checkout root:
```bash
go test ./...
GOWORK=off go test -race ./... -count=1
python3 -B -m unittest discover -s tests -p 'test_*.py'
```
Build a fresh binary before running the private X11 integration checks:
```bash
export GOWORK=off
go build -o /tmp/fenrir-test ./cmd/fenrir
export FENRIR_TEST_BINARY=/tmp/fenrir-test
xvfb-run -a env FENRIR_PRIVATE_X11=1 python3 -B tests/native_terminal.py
xvfb-run -a env FENRIR_PRIVATE_X11=1 python3 -B tests/native_hardware_settings.py
xvfb-run -a env FENRIR_PRIVATE_X11=1 python3 -B tests/native_hardware_speech.py
```
Run these native checks sequentially so separate `xvfb-run` launches cannot
race for the same display. Hardware checks use private serial PTYs and a fake
USB library built from the selected `screenreader-common` transport's test
fixture. They do not require a physical synthesizer. `GOWORK=off` verifies the
pinned shared core; omit it when testing a sibling development workspace.
Device-free checks do not establish audible speech or real keyboard behavior.
Test changes affecting input, speech, or menus in the affected console or X11
workflow as well.