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

+3 -3
View File
@@ -12,6 +12,7 @@ import tempfile
import tomllib
from native_terminal import KeyboardFixture, SpeechServer, wait_for
from hardware_fixture import build_usb_fixture
def main():
@@ -24,8 +25,7 @@ def main():
suiteRoot = Path(directory)
libraryRoot = suiteRoot / "usb"
libraryRoot.mkdir()
subprocess.run(["cc", "-shared", "-fPIC", "-o", str(libraryRoot / "libusb-1.0.so.0"),
str(repository / "internal/speech/testdata/usb_fixture.c")], check=True)
build_usb_fixture(libraryRoot)
keyboard = KeyboardFixture()
try:
for layout in ("desktop", "laptop"):
@@ -90,7 +90,7 @@ def main():
keyboard.key("Home", *("Down",) * index)
start = len(server.events)
keyboard.key("Tab")
spoken("Pitch" if driver == "dectalk-usb" else "Serial port entry", start)
spoken("Rate" if driver == "dectalk-usb" else "Serial port entry", start)
if driver != "dectalk-usb":
keyboard.key("ctrl+a")
subprocess.run(["xdotool", "type", "--delay", "1", os.ttyname(slave)], check=True)