Add Android headless preset and parser tests
This commit is contained in:
@@ -142,8 +142,9 @@ Goal: make CMake the canonical source list without breaking existing projects.
|
||||
Status: in progress. Root `CMakeLists.txt`, `CMakePresets.json`, and project
|
||||
option targets exist. The Windows desktop app builds through CMake as
|
||||
`PanoPainter`; the raw Visual Studio solution/project files were removed on
|
||||
2026-05-31 by user decision. Non-Windows platform build files remain during
|
||||
Phase 6 alignment.
|
||||
2026-05-31 by user decision. Android arm64 now configures and builds headless
|
||||
foundation/tool targets through the root CMake/NDK path. Non-Windows platform
|
||||
app/package files remain during Phase 6 alignment.
|
||||
|
||||
Implementation tasks:
|
||||
|
||||
@@ -297,8 +298,10 @@ Gate:
|
||||
Goal: split libraries while keeping current app behavior.
|
||||
|
||||
Status: started. `pp_foundation` exists with binary stream utilities and
|
||||
boundary/overread tests. Continue extracting legacy-safe utilities before
|
||||
moving assets, paint, or document behavior.
|
||||
boundary/overread tests. It also owns strict decimal `uint32` parsing used by
|
||||
`pano_cli`, with rejection tests for empty, signed, mixed, and overflowing
|
||||
input. Continue extracting legacy-safe utilities before moving assets, paint,
|
||||
or document behavior.
|
||||
|
||||
Implementation tasks:
|
||||
|
||||
@@ -498,20 +501,25 @@ Last verified on 2026-05-31:
|
||||
|
||||
```powershell
|
||||
cmake --preset windows-msvc-default
|
||||
cmake --build --preset windows-msvc-default --config Debug --target pp_foundation_tests pano_cli PanoPainter
|
||||
cmake --build --preset windows-msvc-default --config Debug --target pp_foundation_binary_stream_tests pp_foundation_parse_tests pano_cli PanoPainter
|
||||
ctest --preset desktop-fast --build-config Debug
|
||||
powershell -ExecutionPolicy Bypass -File scripts\automation\test.ps1 -Preset desktop-fast -Configuration Debug
|
||||
powershell -ExecutionPolicy Bypass -File scripts\automation\build.ps1 -Preset windows-msvc-default -Configuration Debug -Target pano_cli
|
||||
cmake --preset android-arm64
|
||||
cmake --build --preset android-arm64 --target pp_foundation pano_cli pp_foundation_binary_stream_tests pp_foundation_parse_tests
|
||||
```
|
||||
|
||||
Results:
|
||||
|
||||
- `pp_foundation_tests` passed.
|
||||
- `pp_foundation_binary_stream_tests` passed.
|
||||
- `pp_foundation_parse_tests` passed.
|
||||
- `pano_cli_create_document_smoke` passed.
|
||||
- `PanoPainter.exe` built through CMake at
|
||||
`out/build/windows-msvc-default/Debug/PanoPainter.exe`.
|
||||
- PowerShell build/test automation wrappers return JSON summaries and passed
|
||||
local smoke checks.
|
||||
- Android arm64 configured with NDK 29.0.14206865 and compiled headless
|
||||
foundation/tool/test targets.
|
||||
- Known remaining warnings: legacy project/vendor diagnostics, Visual Studio
|
||||
vcpkg-manifest warning, `LNK4099` missing libyuv PDBs, and `LNK4098` runtime
|
||||
library conflict from retained vendor binaries.
|
||||
|
||||
Reference in New Issue
Block a user