Files
031-flash-card/tools/sandbox/flash-card.wsb
T
Tirsvad f8ccfca02e MIL-013: Debian container and Windows Sandbox checks
A Debian image (python:3.13-slim-bookworm with Xvfb and GNOME's window
manager) runs the linters, the whole test suite, the screenshots and the
smoke test of a PyInstaller Linux binary and of the source program, so no
window opens on the development machine. The screenshot tool works on
Linux, a smoke driver presses the known button with the virtual mouse, and
Windows Sandbox scripts are written (not run, they open a window on the
host). README and the wiki Install pages describe it. Review records
RC-077 (Python) and RC-078 (shell).

Task: MIL-013#2
Task: MIL-013#3
Task: MIL-013#4
Task: MIL-013#5
Task: MIL-013#6
Task: MIL-013#7
Task: MIL-013#9
Task: MIL-013#10
2026-10-15 10:09:48 +08:00

37 lines
1.3 KiB
Plaintext

<!--
Windows Sandbox configuration of the flash card smoke test (ADR-0005).
Do not open this file directly: tools/sandbox/run.ps1 replaces the three
@...@ placeholders with absolute host paths and starts the sandbox.
dist read-only the built flash-card.exe
scripts read-only smoke.ps1, which runs inside the sandbox
out read-write result.json and screenshots written by smoke.ps1
-->
<Configuration>
<VGpu>Disable</VGpu>
<Networking>Disable</Networking>
<AudioInput>Disable</AudioInput>
<VideoInput>Disable</VideoInput>
<ClipboardRedirection>Disable</ClipboardRedirection>
<MappedFolders>
<MappedFolder>
<HostFolder>@DIST@</HostFolder>
<SandboxFolder>C:\fc\dist</SandboxFolder>
<ReadOnly>true</ReadOnly>
</MappedFolder>
<MappedFolder>
<HostFolder>@SCRIPTS@</HostFolder>
<SandboxFolder>C:\fc\scripts</SandboxFolder>
<ReadOnly>true</ReadOnly>
</MappedFolder>
<MappedFolder>
<HostFolder>@OUT@</HostFolder>
<SandboxFolder>C:\fc\out</SandboxFolder>
<ReadOnly>false</ReadOnly>
</MappedFolder>
</MappedFolders>
<LogonCommand>
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\fc\scripts\smoke.ps1 -Runs @RUNS@</Command>
</LogonCommand>
</Configuration>