haiku: USB backend (Storage Kit), bundled doctest, VM sync tooling
CI / Linux arm64 (push) Waiting to run
CI / Linux x86_64 (push) Waiting to run
CI / ASan + UBSan (push) Waiting to run

- usb_haiku.cpp: lists /dev/disk/usb/* drives (never the boot volume),
  formats MBR + FAT32 at 1 MiB through BDiskDevice/BPartition, mounts,
  unmounts and ejects; modifications are cancelled on failure
- third_party/doctest (MIT single header) used when no system package
  exists (HaikuPorts has none)
- tools/haiku-vm.sh: sync command, dedicated SSH key; tools/qmp.py:
  typefile command and slower key pacing
- builds on Haiku R1/beta6 x86_64; usb-list sees the virtual stick.
  Known issue: some unit tests still fail on Haiku (to investigate).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
This commit is contained in:
yann64andClaude Opus 5.5 committed 2026-11-28 20:20:43 +01:00
1 parent 114976b912
commit b2ca454d44
8 files changed
+7376 -3

No files matched your search

+3
View File
@@ -16,6 +16,9 @@ find_package(LibArchive REQUIRED)
target_link_libraries(openpu_tests PRIVATE openpu_core openpu_warnings LibArchive::LibArchive)
if(TARGET doctest::doctest)
target_link_libraries(openpu_tests PRIVATE doctest::doctest)
else()
# Bundled single header (third_party/doctest, MIT) when the system has no doctest package.
target_include_directories(openpu_tests SYSTEM PRIVATE ${PROJECT_SOURCE_DIR}/third_party)
endif()
target_compile_definitions(openpu_tests PRIVATE OPENPU_FIXTURES_DIR="${CMAKE_CURRENT_SOURCE_DIR}/fixtures")